##// END OF EJS Templates
more minor fixes to release scripts...
MinRK -
Show More
@@ -3,6 +3,7 b''
3 3 """
4 4
5 5 import os
6 from shutil import rmtree
6 7
7 8 from toollib import *
8 9
@@ -20,7 +21,7 b' compile_tree()'
20 21 for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'),
21 22 pjoin('docs', 'source', 'api', 'generated')]:
22 23 if os.path.isdir(d):
23 remove_tree(d)
24 rmtree(d)
24 25
25 26 # Build source and binary distros
26 27 sh(sdists)
@@ -56,7 +56,7 b" sh('./setup.py register')"
56 56 # Upload all files
57 57 sh(sdists + ' upload')
58 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 61 cd(distdir)
62 62 print( 'Uploading distribution files...')
@@ -42,7 +42,7 b' def get_ipdir():'
42 42 try:
43 43 ipdir = sys.argv[1]
44 44 except IndexError:
45 ipdir = '..'
45 ipdir = pjoin(os.path.dirname(__file__), os.pardir)
46 46
47 47 ipdir = os.path.abspath(ipdir)
48 48
General Comments 0
You need to be logged in to leave comments. Login now