aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-03-07 21:22:33 +1300
committerAldo Cortesi <aldo@nullcube.com>2018-03-07 21:36:17 +1300
commitf72d91672e1ab7a374177d1063f90742041cb5f5 (patch)
tree4231651deff47de7f24e180c108bcd47c3c8852b /release
parentf8cce32562009427b99e30eecb323babeb371be3 (diff)
downloadmitmproxy-f72d91672e1ab7a374177d1063f90742041cb5f5.tar.gz
mitmproxy-f72d91672e1ab7a374177d1063f90742041cb5f5.tar.bz2
mitmproxy-f72d91672e1ab7a374177d1063f90742041cb5f5.zip
release: build wheel
Diffstat (limited to 'release')
-rwxr-xr-xrelease/ci.py10
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: