Show More
@@ -3,9 +3,8 b'' | |||
|
3 | 3 | """ |
|
4 | 4 | import os |
|
5 | 5 | import sys |
|
6 | from shutil import rmtree | |
|
7 | 6 | |
|
8 |
from toollib import sh, |
|
|
7 | from toollib import sh, get_ipdir, cd, build_command | |
|
9 | 8 | |
|
10 | 9 | def build_release(): |
|
11 | 10 | |
@@ -14,8 +13,7 b' def build_release():' | |||
|
14 | 13 | cd(ipdir) |
|
15 | 14 | |
|
16 | 15 | # Build source and binary distros |
|
17 | sh(sdists) | |
|
18 | buildwheels() | |
|
16 | sh(build_command) | |
|
19 | 17 | # don't try to change, xz, bz2 deprecated. |
|
20 | 18 | sh(' '.join([sys.executable, 'tools/retar.py', 'dist/*.gz'])) |
|
21 | 19 |
@@ -18,10 +18,7 b" archive = '%s:%s' % (archive_user, archive_dir)" | |||
|
18 | 18 | |
|
19 | 19 | # Build commands |
|
20 | 20 | # Source dists |
|
21 |
|
|
|
22 | # Binary dists | |
|
23 | def buildwheels(): | |
|
24 | sh("{python} -m build".format(python=sys.executable)) | |
|
21 | build_command = "{python} -m build".format(python=sys.executable) | |
|
25 | 22 | |
|
26 | 23 | |
|
27 | 24 | # Utility functions |
General Comments 0
You need to be logged in to leave comments.
Login now