[TIP] [tox] tox.ini in a different location
holger krekel
holger at merlinux.eu
Sat Aug 14 00:21:45 PDT 2010
On Sat, Aug 14, 2010 at 09:03 +0200, holger krekel wrote:
> Tox assumes that setup.py is in the same dir as the setup.py file.
sorry, i meant: ... same dir as the "tox.ini" file.
> You can change this behaviour according to:
>
> http://codespeak.net/tox/config.html
>
> by setting the global variable:
>
> [tox]
> setupdir = ../
> toxworkdir = ../ # might make sense as well
>
> This assumes that your setup.py containing directory is one
> level up from your tox.ini config file. Adapt as needed.
>
> cheers,
> holger
More information about the testing-in-python
mailing list