[Distutils] Where should I put tests when packaging python modules?

Ionel Cristian Mărieș contact at ionelmc.ro
Wed Oct 7 22:34:19 CEST 2015

On Wed, Oct 7, 2015 at 4:42 PM, Ionel Cristian Mărieș <contact at ionelmc.ro>

> On Wed, Oct 7, 2015 at 3:18 PM, Donald Stufft <donald at stufft.io> wrote:
>> tox and setup.py test are not really equivalent. There’s no way (to my
>> knowledge) to test the item outside of a virtual environment. This is
>> important for downstreams who want to test that the package build and the
>> tests successfully are executed in their environment, not within some
>> virtual environment.
> ​Hmmmm ... you're right. But making Tox not use virtualenvs is not
> impossible - much alike​ to how Detox is working, we could have a "Tax"
> (just made that up) that just skips making any virtualenv. It's a matter of
> making two subclasses and a console_scripts entrypoint (I think). I think
> it's a good name: ``use Tax instead of Tox if you wanna "tax" your global
> site-packages`` :-)

​Just for kicks, I verified this, it's not hard at all:

Barry may want to look at it, in case he has too many tox.ini files to
copy-paste from :-)

-- Ionel Cristian Mărieș, http://blog.ionelmc.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151007/8b507d41/attachment.html>

More information about the Distutils-SIG mailing list