Browse files

Updated pavement.py to call modified sdist task before attempting to …

…upload archive to PyPi
  • Loading branch information...
1 parent f3fc75c commit 2d9520dec8ae29b08d72545c362abdd13d5e8614 @khughitt khughitt committed Apr 16, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 pavement.py
View
8 pavement.py
@@ -40,7 +40,13 @@
def sdist():
"""Generated HTML docs and builds a tarball."""
shutil.rmtree('doc/html')
-
+
+@task
+@needs('sdist', 'setuptools.command.upload')
+def upload():
+ """Generated HTML docs and builds a tarball."""
+ shutil.rmtree('doc/html')
+
@task
@needs('prepare_docs', 'setuptools.command.bdist_wininst')
def bdist():

0 comments on commit 2d9520d

Please sign in to comment.