mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 19:27:14 +00:00
Fix binary builds (#3840)
See https://github.com/pypa/setuptools/issues/1963 for details.
This commit is contained in:
parent
cc5fa2d0ef
commit
c284d595a3
1 changed files with 7 additions and 0 deletions
7
release/hooks/hook-pkg_resources.py
Normal file
7
release/hooks/hook-pkg_resources.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# flake8: noqa
|
||||
|
||||
# temporary fix for https://github.com/pypa/setuptools/issues/1963
|
||||
# can be removed when we upgrade to PyInstaller 3.7.
|
||||
hiddenimports = collect_submodules('pkg_resources._vendor')
|
||||
hiddenimports.append('pkg_resources.py2_warn')
|
||||
excludedimports = ['__main__']
|
||||
Loading…
Add table
Add a link
Reference in a new issue