提交 154a3e49 编写于 作者: M Maximilian Hils

pyinstaller: add configparser hidden import

上级 6a02c819
......@@ -2,4 +2,8 @@ hiddenimports = ["mitmproxy.script"]
# taken from https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/hooks/hook-pkg_resources.py
# at 2020-05-01, required for PyInstaller < 3.7
hiddenimports.append('pkg_resources.py2_warn')
\ No newline at end of file
hiddenimports.append('pkg_resources.py2_warn')
# passlib depends on configparser, but the builtin passlib hook doesn't include it.
# Since PyInstaller 3.6 we cannot have a hook with the same name, so it lives here.
hiddenimports.append("configparser")
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册