Provide a dist environment for tox
authorJeremy Stanley <fungi@yuggoth.org>
Wed, 2 May 2018 01:52:32 +0000 (01:52 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Wed, 2 May 2018 01:52:32 +0000 (01:52 +0000)
A convenience env to create Python packages via tox.

tox.ini

diff --git a/tox.ini b/tox.ini
index ebe9f1b..3d21d4b 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -17,6 +17,10 @@ setenv =
 deps = -r{toxinidir}/test-requirements.txt
 commands = python setup.py test --slowest --testr-args='{posargs}'
 
+[testenv:dist]
+deps = pbr
+commands = python setup.py bdist_wheel sdist
+
 [testenv:docs]
 whitelist_externals = rm
 deps = -r{toxinidir}/doc/requirements.txt