Commits

Ned Batchelder committed 7b6eb65

Automate the uploading of the kits.

Comments (0)

Files changed (2)

 @REM Build all the kits for coverage.py
+@REM Add "upload" onto the command line to also upload.
 call \ned\bin\switchpy 23
-python setup.py bdist_wininst
+python setup.py bdist_wininst %1 
 call \ned\bin\switchpy 24
-python setup.py bdist_wininst
+python setup.py bdist_wininst %1
 call \ned\bin\switchpy 25
-python setup.py bdist_wininst
+python setup.py bdist_wininst %1
 call \ned\bin\switchpy 26
-python setup.py bdist_wininst
+python setup.py bdist_wininst %1
 
 set TAR_OPTIONS=--group=100
-python setup.py sdist --formats=gztar
+python setup.py sdist --formats=gztar %1
 set TAR_OPTIONS=
 
 @REM Py3k
 call \ned\bin\switchpy 31
-python setup.py bdist_wininst
+python setup.py bdist_wininst %1
     - Generate new sample_html to get the latest, incl footer version number:
         cd C:\ned\cog\trunk
         rmdir/s/q htmlcov
-        coverage run cogapp\test_cogapp.py CogTestsInMemory
+        coverage run --branch cogapp\test_cogapp.py CogTestsInMemory
         coverage html -i -d htmlcov
         copy htmlcov\*.* C:\ned\coverage\trunk\doc\sample_html
     - Build and publish docs:
         - $ allkits.cmd
 - Update PyPi:
     - $ make pypi
+    - upload the kits:
+        - $ allkits.cmd upload
     - Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :
-        - Upload kits
-            - Label the source kit with "Use this for either Python 2.x or 3.x"
         - show/hide the proper versions.
 - Tag the tree
     - hg tag -m "Coverage 3.0.1" coverage-3.0.1