タイトルのとおり。tox.iniで他のセクションの値を参照する方法について。 githubでいろんなリポジトリ眺めてるときに書いてる人がいたので知った。 ドキュメントにも書かれている。 Substitution for values from other sections こんな感じに書ける。 [tox] envlist = py26-dj14, py26-dj16, py27-dj14 [testenv] commands = nosetests deps = pyftpdlib nose [testenv:py26-dj14] basepython = python2.6 deps = django>=1.4,<1.5 {[testenv]deps} [testenv:py26-dj16] basepython = python2.6 deps = django>=1.6,<1.7 {