diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-03-07 21:22:33 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2018-03-07 21:36:17 +1300 |
commit | f72d91672e1ab7a374177d1063f90742041cb5f5 (patch) | |
tree | 4231651deff47de7f24e180c108bcd47c3c8852b /release/ci.py | |
parent | f8cce32562009427b99e30eecb323babeb371be3 (diff) | |
download | mitmproxy-f72d91672e1ab7a374177d1063f90742041cb5f5.tar.gz mitmproxy-f72d91672e1ab7a374177d1063f90742041cb5f5.tar.bz2 mitmproxy-f72d91672e1ab7a374177d1063f90742041cb5f5.zip |
release: build wheel
Diffstat (limited to 'release/ci.py')
-rwxr-xr-x | release/ci.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/release/ci.py b/release/ci.py index 18209dfd..a7ecfae5 100755 --- a/release/ci.py +++ b/release/ci.py @@ -148,6 +148,16 @@ def build(): os.makedirs(DIST_DIR, exist_ok=True) + if "WHEEL" in os.environ: + print("Building wheel...") + subprocess.check_call( + [ + "python", + "setup.py", "-q", "bdist_wheel", + "--dist-dir", "release/dist", + ] + ) + for bdist, tools in sorted(BDISTS.items()): with Archive(join(DIST_DIR, archive_name(bdist))) as archive: for tool in tools: |