[Python-ideas] Official site-packages/test directory

Guido van Rossum guido at python.org
Fri Jan 19 11:48:00 EST 2018


On Fri, Jan 19, 2018 at 8:30 AM, Wolfgang Maier <
wolfgang.maier at biologie.uni-freiburg.de> wrote:

>
> I think that's a really nice idea.
> With an official site-packages/test directory there could be pip support
> for optionally installing tests alongside a package if its layout allows
> it. So end users could just install things without tests, but developers
> could do: pip install <package> --with-tests or something to get everything?


Oh, I just realized there's another problem here. The existing 'test'
package (which is not a namespace package) would hide the
site-packages/test directory.

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180119/bcdbbb18/attachment.html>


More information about the Python-ideas mailing list