[Python-ideas] Official site-packages/test directory
Giampaolo Rodola'
g.rodola at gmail.com
Fri Jan 19 14:21:51 EST 2018
On Fri, Jan 19, 2018 at 5:23 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> Another common approach is to not ship tests as part of your (runtime)
> package at all - they are in the sdist but not the wheels nor are they
> deployed with "setup.py install". In my experience, this is the usual
> approach projects take if they don't have the tests in the package
> directory. (I don't think I've *ever* seen a project try to install
> tests except by including them in the package directory...)
I personally include them in psutil distribution so that users can test the
installation with "python -m psutil.test". I have even this documented as I
think it's an added value.
--
Giampaolo - http://grodola.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180119/5859270d/attachment.html>
More information about the Python-ideas
mailing list