Commits

Ned Batchelder  committed 5429bbb

Need a new tox-based way to upload kits to pypi

  • Participants
  • Parent commits 310b8b2
  • Tags coverage-3.5.3

Comments (0)

Files changed (3)

 
 # 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
 
 - 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 :

File tox_winkits.ini

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