From a02bec0469a9f1cf9e77c13b2fa9043f723fbb0f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 21 Jul 2012 22:24:11 -0400 Subject: Change how kits are build, use tox. --- Makefile | 1 - allkits.cmd | 9 --------- howto.txt | 6 ++++-- tox_winkits.ini | 6 ++++++ 4 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 allkits.cmd create mode 100644 tox_winkits.ini 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 -- cgit v1.2.1