How can I point tox to all python versions in a portable way (eg. without hard-coding the paths in tox.ini)?

I'd like to run tox for python 2.6, 2.7, 3.3, etc. and am looking for a way to do this that doesn't involve hard-coding the python paths into a project's tox.ini like I'm currently doing:


since this breaks when run on a different machine. Does tox have some global config file where I can set this (didn't find the answer in ~/.tox/ or in the manual)?




You should be able to just name the Python version you want. Tox will figure out the path.

basepython = python2.7

If that doesn't work for you, Tox supports environment substitutions inside curly braces.

{envname} The name of the virtual environment

{envpython} Path to the virtual Python interpreter

{envdir} Directory of the virtualenv hierarchy

More info in the Tox documentation

Need Your Help

Calling C++ code from C

c++ c

Is there any way where I can call C++ code from C code?

Uncaught SyntaxError: Unexpected identifier

javascript syntax error-handling

When I ran the javascript console on chrome it came up with uncaught syntaxerror: unexpected identifier,I was hoping someone could help me figure out why this error keeps coming up it would be much