New issue 146: setting PYTHONPATH causes tox to crash https://bitbucket.org/hpk42/tox/issue/146/setting-pythonpath-causes-tox-to-crash
Daniel Neuhäuser: When I try to set the PYTHONPATH environment variable, tox fails with this traceback: ``` $ PYTHONPATH=../pypy tox GLOB sdist-make: /Users/DasIch/Development/rply/setup.py Traceback (most recent call last): File "/Users/DasIch/Development/dotfiles/virtualenv/envs/rply/bin/tox", line 9, in <module> load_entry_point('tox==1.6.1', 'console_scripts', 'tox')() File "/Users/DasIch/Development/dotfiles/virtualenv/envs/rply/lib/python2.7/site-packages/tox/_cmdline.py", line 26, in main retcode = Session(config).runcommand() File "/Users/DasIch/Development/dotfiles/virtualenv/envs/rply/lib/python2.7/site-packages/tox/_cmdline.py", line 301, in runcommand return self.subcommand_test() File "/Users/DasIch/Development/dotfiles/virtualenv/envs/rply/lib/python2.7/site-packages/tox/_cmdline.py", line 433, in subcommand_test if self.setupenv(venv): File "/Users/DasIch/Development/dotfiles/virtualenv/envs/rply/lib/python2.7/site-packages/tox/_cmdline.py", line 367, in setupenv commandpath = venv.getcommandpath("python") File "/Users/DasIch/Development/dotfiles/virtualenv/envs/rply/lib/python2.7/site-packages/tox/_venv.py", line 85, in getcommandpath p = py.path.local.sysfind(name, paths=[self.envconfig.envbindir]) TypeError: sysfind() got an unexpected keyword argument 'paths' ``` What I would like tox to do is execute the commands in the testenv with PYTHONPATH as I've set it. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit