summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-09-29 22:35:09 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-09-29 22:35:09 -0400
commit934f545d69dd98bc2a601fa41e36a2ceb688392e (patch)
treedae276df365fb69b5442ea3881d1f8550a8e11ee
parent4a5a45d18135f4ccc72bcea05e13175f52ee2f85 (diff)
downloadpython-coveragepy-git-934f545d69dd98bc2a601fa41e36a2ceb688392e.tar.gz
Need a new tox-based way to upload kits to pypicoverage-3.5.3
-rw-r--r--Makefile7
-rw-r--r--howto.txt3
-rw-r--r--tox_winkits.ini2
3 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4b3f220a..cb66b469 100644
--- a/Makefile
+++ b/Makefile
@@ -52,9 +52,14 @@ covcov: testready
# Kitting
+SDIST_CMD = python setup.py sdist --keep-temp --formats=gztar fixtar --owner=ned --group=coverage --clean
+
kit:
- python setup.py sdist --keep-temp --formats=gztar fixtar --owner=ned --group=coverage --clean
+ $(SDIST_CMD)
+kit_upload:
+ $(SDIST_CMD) upload
+
pypi:
python setup.py register
diff --git a/howto.txt b/howto.txt
index 9178c8fd..fd5c2ff3 100644
--- a/howto.txt
+++ b/howto.txt
@@ -37,7 +37,8 @@
- Update PyPi:
- $ make pypi
- upload the kits:
- - $ allkits.cmd upload
+ - $ make kit_upload
+ - $ tox -c tox_winkits.ini upload
# note: this seems to try to upload each file twice, so you'll have a
# successful upload, then a failure, but the file gets there.
- Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :
diff --git a/tox_winkits.ini b/tox_winkits.ini
index 445329a4..a283a59f 100644
--- a/tox_winkits.ini
+++ b/tox_winkits.ini
@@ -4,4 +4,4 @@ toxworkdir = {toxinidir}/.tox_kits
[testenv]
commands =
- {envpython} setup.py bdist_wininst
+ {envpython} setup.py bdist_wininst {posargs}