add tox.ini for virtualenv goodness

This commit is contained in:
2016-01-10 02:29:45 +01:00
parent a44edbccc5
commit 46c6577634

29
tox.ini Normal file
View File

@@ -0,0 +1,29 @@
# defaults to tests
# run with tox -e urlbot, tox -e idlebot, etc
[tox]
envlist = test
# we have no setup.py
skipsdist = true
[testenv]
envdir = {toxinidir}/.env
deps=nose
fasteners
sleekxmpp
configobj
requests
lxml
commands=
test: nosetests [] # substitute with tox' positional arguments
idlebot: python idlebot.py []
urlbot: python urlbot.py []
sh: sh []
bash: bash []
zsh: zsh []
whitelist_externals = zsh
bash
sh