add tox.ini
This commit is contained in:
parent
28216ddd4a
commit
ab75d8a89c
|
@ -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/"
|
Loading…
Reference in New Issue