Join GitHub today
Using 'python' in commands is confusing #305
Another feedback from my fellow sprinters new to tox.
Very often you'll see something like this in your tox.ini:
The details aren't important other than what we're doing here is invoking some python interpreter to run some commands. In the
I thought maybe we could use
I am not sure if I understand the source of the confusion correctly. My own understanding is that when I say "python" in commands the executable used is the correct one in the context of my tox environment, so in the case of your example the python executable in the virtualenv that was created from the basepython. In the case of your example it would be
I personally would not want to change the invocation in
Alternatively we could document the behaviour more clearly (explain the concept better) or make the output more "educational" by telling the user which python is used for invocations?