Permalink
Browse files

Add machinery to create/upload releases

This uses twine to upload wheels and source distributions that we create
for httpbin.
  • Loading branch information...
1 parent 5433f79 commit dc7e81c4a1a372f2cae25d126066c275e5ebaf06 @sigmavirus24 sigmavirus24 committed Jan 27, 2016
Showing with 11 additions and 0 deletions.
  1. +11 −0 tox.ini
View
@@ -1,4 +1,15 @@
[tox]
envlist = py27,py34
+
[testenv]
commands=python test_httpbin.py
+
+[testenv:release]
+skipdist = true
+usedevelop = false
+deps =
+ twine>=1.6.0
+ wheel
+commands =
+ python setup.py sdist bdist_wheel
+ twine upload --skip-existing dist/*

0 comments on commit dc7e81c

Please sign in to comment.