Skip to content

Commit 934f545

Browse files
committed
Need a new tox-based way to upload kits to pypi
1 parent 4a5a45d commit 934f545

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,14 @@ covcov: testready
5252

5353
# Kitting
5454

55+
SDIST_CMD = python setup.py sdist --keep-temp --formats=gztar fixtar --owner=ned --group=coverage --clean
56+
5557
kit:
56-
python setup.py sdist --keep-temp --formats=gztar fixtar --owner=ned --group=coverage --clean
58+
$(SDIST_CMD)
5759

60+
kit_upload:
61+
$(SDIST_CMD) upload
62+
5863
pypi:
5964
python setup.py register
6065

howto.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
- Update PyPi:
3838
- $ make pypi
3939
- upload the kits:
40-
- $ allkits.cmd upload
40+
- $ make kit_upload
41+
- $ tox -c tox_winkits.ini upload
4142
# note: this seems to try to upload each file twice, so you'll have a
4243
# successful upload, then a failure, but the file gets there.
4344
- Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :

tox_winkits.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ toxworkdir = {toxinidir}/.tox_kits
44

55
[testenv]
66
commands =
7-
{envpython} setup.py bdist_wininst
7+
{envpython} setup.py bdist_wininst {posargs}

0 commit comments

Comments
 (0)