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