From dc7e81c4a1a372f2cae25d126066c275e5ebaf06 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Wed, 27 Jan 2016 10:33:55 -0600 Subject: [PATCH] Add machinery to create/upload releases This uses twine to upload wheels and source distributions that we create for httpbin. --- tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tox.ini b/tox.ini index 3875f3e8..87ad98ad 100644 --- a/tox.ini +++ b/tox.ini @@ -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/*