diff --git a/b2.spec.template b/b2.spec.template index 021bc683..e7fa6df7 100644 --- a/b2.spec.template +++ b/b2.spec.template @@ -12,7 +12,7 @@ a = Analysis(['b2/_internal/${VERSION}/__main__.py'], pathex=['.'], binaries=[], datas=datas, - hiddenimports=['pkg_resources.py2_warn'], + hiddenimports=['pkg_resources.extern', 'pkg_resources.py2_warn'], hookspath=['pyinstaller-hooks'], runtime_hooks=[], win_no_prefer_redirects=False,