mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
fix appveyor build script
we now have a module named "types", which of course confuses Python 3.5. O:-)
This commit is contained in:
parent
9dc3d16bf2
commit
d15bdf8d03
@ -34,7 +34,7 @@ install:
|
||||
test_script:
|
||||
- ps: "tox -- --verbose --cov-report=term"
|
||||
- ps: |
|
||||
$Env:VERSION = $(python mitmproxy/version.py)
|
||||
$Env:VERSION = $(python -m mitmproxy.version)
|
||||
$Env:SKIP_MITMPROXY = "python -c `"print('skip mitmproxy')`""
|
||||
tox -e rtool -- wheel
|
||||
tox -e rtool -- bdist
|
||||
|
@ -1,3 +0,0 @@
|
||||
# https://github.com/mitmproxy/mitmproxy/issues/1809
|
||||
# import script here so that pyinstaller registers it.
|
||||
from . import script # noqa
|
1
release/hooks/hook-mitmproxy.py
Normal file
1
release/hooks/hook-mitmproxy.py
Normal file
@ -0,0 +1 @@
|
||||
hiddenimports = ["mitmproxy.script"]
|
Loading…
Reference in New Issue
Block a user