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 |
r |
|
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...') |
General Comments 0
You need to be logged in to leave comments.
Login now