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