From 2580624b2eb780277273bd86a9d53f93f03e3cb2 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Fri, 20 Mar 2015 09:48:46 -0500 Subject: [PATCH] Add release testenv to tox.ini --- tox.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tox.ini b/tox.ini index 58d4f8a..09bc07d 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,14 @@ deps = flake8 commands = flake8 {posargs} github3/ +[testenv:release] +deps = + wheel + twine>=1.4.0 +commands = + python setup.py sdist bdist_wheel + twine upload dist/* + [pytest] addopts = -q norecursedirs = *.egg .git .* _*