Skip to content

Commit 2633b6e

Browse files
committed
chore(build-packages): Remove PyInstaller deprecation warning
1 parent 49887e9 commit 2633b6e

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!--
2+
A new scriv changelog fragment.
3+
4+
Uncomment the section that is right (remove the HTML comment wrapper).
5+
For top level release notes, leave all the headers commented out.
6+
-->
7+
8+
<!--
9+
### Removed
10+
11+
- A bullet item for the Removed category.
12+
13+
-->
14+
<!--
15+
### Added
16+
17+
- A bullet item for the Added category.
18+
19+
-->
20+
<!--
21+
### Changed
22+
23+
- A bullet item for the Changed category.
24+
25+
-->
26+
<!--
27+
### Deprecated
28+
29+
- A bullet item for the Deprecated category.
30+
31+
-->
32+
33+
### Fixed
34+
35+
- Remove PyInstaller's pkg_resources deprecation warning when running PyInstaller-based ggshield.
36+
<!--
37+
38+
### Security
39+
40+
- A bullet item for the Security category.
41+
42+
-->

scripts/build-os-packages/build-os-packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ step_build() {
178178
extra_args="--strip"
179179
fi
180180

181-
pyinstaller ggshield/__main__.py --name ggshield --noupx $extra_args
181+
pyinstaller ggshield/__main__.py --name ggshield --exclude-module pkg_resources --noupx $extra_args
182182

183183
if [ "$HUMAN_OS" != Windows ] ; then
184184
# Libraries do not need to be executable

0 commit comments

Comments
 (0)