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/"