add tox.ini for virtualenv goodness
This commit is contained in:
29
tox.ini
Normal file
29
tox.ini
Normal 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
|
||||||
Reference in New Issue
Block a user