summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}