我有一个tox.ini
这样的文件:
[tox]
envlist =
{py27,py34}
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
-r{toxinidir}/requirements-test.txt
commands =
nosetests -v --stop --with-coverage --cover-package=project
所以,我需要从我的 SO 向我的 tox env 传递一个环境变量。这个变量是私有的,会根据环境而变化。
我怎么做?