I don't think you can use boot scripts (as described in virtualenv docs) with tox. However, you can configure your tox.ini file to install Python dependencies that are not specified in setup.py , and run arbitrary commands before running the tests. On the toxin homepage:
# content of: tox.ini , put in same dir as setup.py [tox] envlist = py26,py27 [testenv] deps=pytest
deps and commands are actually lists:
deps= lxml psycopg2 pytest commands= ./some_other_script.sh py.test
But forget about boot scripts and take a step back. What is the original problem with pg_conf?
source share