From e7bdee56efdf7eea20550148e3e53adf26eec630 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 26 Jun 2016 22:13:42 -0700 Subject: rtool: build py3 wheels an binaries --- release/rtool.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'release/rtool.py') 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...") -- cgit v1.2.3