summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-07-21 22:24:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-07-21 22:24:11 -0400
commita02bec0469a9f1cf9e77c13b2fa9043f723fbb0f (patch)
tree249795b3c91263734448b6199838e56ce5214951
parentf1b8cda800984363fc58e809326d2acef86a1d6a (diff)
downloadpython-coveragepy-git-a02bec0469a9f1cf9e77c13b2fa9043f723fbb0f.tar.gz
Change how kits are build, use tox.
-rw-r--r--Makefile1
-rw-r--r--allkits.cmd9
-rw-r--r--howto.txt6
-rw-r--r--tox_winkits.ini6
4 files changed, 10 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 5cf49310..4b3f220a 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,6 @@ covcov: testready
kit:
python setup.py sdist --keep-temp --formats=gztar fixtar --owner=ned --group=coverage --clean
- python setup.py bdist_wininst
pypi:
python setup.py register
diff --git a/allkits.cmd b/allkits.cmd
deleted file mode 100644
index 528087fc..00000000
--- a/allkits.cmd
+++ /dev/null
@@ -1,9 +0,0 @@
-@REM Build all the kits for coverage.py
-@REM Add "upload" onto the command line to also upload.
-for %%v in (26 27 31 32) do (
- call switchpy c:\vpy\coverage\%%v
- python setup.py bdist_wininst %1
- )
-
-call switchpy c:\vpy\coverage\26
-python setup.py sdist --keep-temp --formats=gztar fixtar --owner=ned --group=coverage --clean %1
diff --git a/howto.txt b/howto.txt
index d3f8c557..90a84dfb 100644
--- a/howto.txt
+++ b/howto.txt
@@ -30,8 +30,10 @@
- Build and publish docs:
$ make publish
- Kits:
- - source .tgz and windows .exe for each Python
- - $ allkits.cmd
+ - Source kit:
+ - $ make kit
+ - Windows .exe for each Python
+ - $ tox -c tox_winkits.ini
- Update PyPi:
- $ make pypi
- upload the kits:
diff --git a/tox_winkits.ini b/tox_winkits.ini
new file mode 100644
index 00000000..716a040e
--- /dev/null
+++ b/tox_winkits.ini
@@ -0,0 +1,6 @@
+[tox]
+envlist = py26, py27, py31, py32
+
+[testenv]
+commands =
+ {envpython} setup.py bdist_wininst