##// END OF EJS Templates
Merge pull request #6281 from minrk/further-fix-release...
Thomas Kluyver -
r17633:a68d1d4d merge
parent child Browse files
Show More
@@ -3,6 +3,7 b''
3 """
3 """
4
4
5 import os
5 import os
6 from shutil import rmtree
6
7
7 from toollib import *
8 from toollib import *
8
9
@@ -20,7 +21,7 b' compile_tree()'
20 for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),
21 for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),
21 pjoin('docs', 'source', 'api', 'generated')]:
22 pjoin('docs', 'source', 'api', 'generated')]:
22 if os.path.isdir(d):
23 if os.path.isdir(d):
23 remove_tree(d)
24 rmtree(d)
24
25
25 # Build source and binary distros
26 # Build source and binary distros
26 sh(sdists)
27 sh(sdists)
@@ -56,7 +56,7 b" sh('./setup.py register')"
56 # Upload all files
56 # Upload all files
57 sh(sdists + ' upload')
57 sh(sdists + ' upload')
58 for py in ('2.7', '3.4'):
58 for py in ('2.7', '3.4'):
59 sh('python%s setupegg.py bdist_wheel' % py)
59 sh('python%s setupegg.py bdist_wheel upload' % py)
60
60
61 cd(distdir)
61 cd(distdir)
62 print( 'Uploading distribution files...')
62 print( 'Uploading distribution files...')
@@ -42,7 +42,7 b' def get_ipdir():'
42 try:
42 try:
43 ipdir = sys.argv[1]
43 ipdir = sys.argv[1]
44 except IndexError:
44 except IndexError:
45 ipdir = '..'
45 ipdir = pjoin(os.path.dirname(__file__), os.pardir)
46
46
47 ipdir = os.path.abspath(ipdir)
47 ipdir = os.path.abspath(ipdir)
48
48
General Comments 0
You need to be logged in to leave comments. Login now