[Python-ideas] Official site-packages/test directory
Guido van Rossum
guido at python.org
Fri Jan 19 11:10:57 EST 2018
IIUC another common layout is to have folders named test or tests inside
each package. This would avoid requiring any changes to the site-packages
On Fri, Jan 19, 2018 at 6:27 AM, Stefan Krah <stefan at bytereef.org> wrote:
> I wonder if we could get an official site-packages/test directory.
> it seems to be problematic to distribute tests if they are outside the
> directory. Here is a nice overview of the two main layout possibilities:
> I like the outside-the-package approach, mostly for reasons described very
> eloquently here:
> CPython itself of course also uses Lib/foo.py and Lib/test/test_foo.py, so
> would make sense to have site-packages/foo.py and
> For me, this is the natural layout.
> Stefan Krah
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas