Skip to content

Commit

Permalink
Add workaround for PyInstaller / setuptools incompatibility.
Browse files Browse the repository at this point in the history
Details pypa/setuptools#1963
Co-authored-by: Pete Wall <[email protected]>
  • Loading branch information
mboldt committed Feb 6, 2020
1 parent cd4d8e5 commit 71d90a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyinstaller/pcf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ a = Analysis(['pcf_entrypoint.py'],
pathex=['.'],
binaries=[],
datas=files,
hiddenimports=[],
# work-around for https://github.com/pypa/setuptools/issues/1963
hiddenimports=['pkg_resources.py2_warn'],
hookspath=[],
runtime_hooks=[],
excludes=[],
Expand Down
3 changes: 2 additions & 1 deletion pyinstaller/tile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ a = Analysis(['tile_entrypoint.py'],
pathex=['.'],
binaries=[],
datas=files,
hiddenimports=[],
# work-around for https://github.com/pypa/setuptools/issues/1963
hiddenimports=['pkg_resources.py2_warn'],
hookspath=[],
runtime_hooks=[],
excludes=[],
Expand Down

0 comments on commit 71d90a6

Please sign in to comment.