diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-06-26 22:13:42 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-06-26 22:13:42 -0700 |
commit | e7bdee56efdf7eea20550148e3e53adf26eec630 (patch) | |
tree | 16d403d9484501c4b34bdb8ffe2698496db8ac51 /release | |
parent | 588dad1bc7f28eeec2851d785387608d40e7382e (diff) | |
download | mitmproxy-e7bdee56efdf7eea20550148e3e53adf26eec630.tar.gz mitmproxy-e7bdee56efdf7eea20550148e3e53adf26eec630.tar.bz2 mitmproxy-e7bdee56efdf7eea20550148e3e53adf26eec630.zip |
rtool: build py3 wheels an binaries
Diffstat (limited to 'release')
-rwxr-xr-x | release/rtool.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/rtool.py b/release/rtool.py index 454e0c6b..518257f1 100755 --- a/release/rtool.py +++ b/release/rtool.py @@ -53,7 +53,7 @@ project = { "pathod": ["pathoc", "pathod"] }, "dir": ROOT_DIR, - "python_version": "py2" + "python_version": "py2.py3", } if platform.system() == "Windows": project["tools"].remove("mitmproxy") @@ -182,7 +182,7 @@ def wheels(): subprocess.check_call( [ "python", "./setup.py", "-q", - "bdist_wheel", "--dist-dir", DIST_DIR, + "bdist_wheel", "--dist-dir", DIST_DIR, "--universal" ], cwd=project["dir"] ) @@ -194,6 +194,9 @@ def wheels(): with chdir(DIST_DIR): print("Installing %s..." % project["name"]) + # lxml... + if os.name == "nt": + subprocess.check_call([VENV_PIP, "install", "-q", "https://snapshots.mitmproxy.org/misc/lxml-3.6.0-cp35-cp35m-win32.whl"]) subprocess.check_call([VENV_PIP, "install", "-q", wheel_name()]) print("Running binaries...") |