From ab75d8a89c916ca47905a544270b60ab8261bc0c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 22 Feb 2016 18:45:55 +0100 Subject: [PATCH] add tox.ini --- tox.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..6d3ca87 --- /dev/null +++ b/tox.ini @@ -0,0 +1,18 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = package +whitelist_externals = /bin/mv + /bin/sh + /bin/rm + +[testenv:package] +deps = + setuptools +commands = + /bin/rm -rf dist + ./setup.py sdist + /bin/sh -c "/bin/mv dist/*.tar.gz /var/www/packages/"