From 99a3e92e89c3e9d4a0dd73ae71b0b849d7fddbee Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 2 Dec 2009 21:55:57 -0500 Subject: Automate the uploading of the kits. --- allkits.cmd | 13 +++++++------ howto.txt | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/allkits.cmd b/allkits.cmd index fa75988..12c46d2 100644 --- a/allkits.cmd +++ b/allkits.cmd @@ -1,17 +1,18 @@ @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 diff --git a/howto.txt b/howto.txt index 388db69..ed58221 100644 --- a/howto.txt +++ b/howto.txt @@ -16,7 +16,7 @@ - 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: @@ -26,9 +26,9 @@ - $ 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 -- cgit v1.2.1