19 lines
469 B
INI
19 lines
469 B
INI
|
# 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/"
|