It depends on whether or not you require docs or tests with your software.
Most of the libraries that I've written require neither - nobody is going
to be running the tests, and if they want the documentation then they're
probably going to check out the library page on readthedocs.

If you had some kind of reason to include them, though, you could.
Typically though if that happens with tests then they're actually part of
the library, e.g. yourmodule.tests
===========================================================
I welcome VSRE emails. Learn more at http://vsre.info/
===========================================================


On Sun, Sep 9, 2018 at 6:08 PM Segev Finer <[email protected]> wrote:

> What should really be included in an sdist via MANIFEST.in? Besides the
> obvious files required for a functioning package (Anything not caught by
> the default rules required for the package to function that is) and
> obviously LICENSE.txt and similar.
>
> A package's source tree, more often than not, includes other files such as
> documentation, tests, examples, a random assortment of other text files,
> etc. Should docs & tests, in particular, be included in an sdist via
> MANIFEST.in? Should other files be added too? Or maybe the sdist should be
> kept to a minimum?
>
> This is not clearly discussed in the packaging guide:
> https://packaging.python.org/guides/distributing-packages-using-setuptools/#manifest-in.
> The sampleproject (https://github.com/pypa/sampleproject) does seem to
> include tests (Well a no-op test) and doesn't include them in the sdist.
> --
> Distutils-SIG mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/mm3/archives/list/[email protected]/message/BJYGZIMYFA6EQD2OGQ6LCR7YFJL3EE74/
>
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/mm3/archives/list/[email protected]/message/AQDJOQVZAZKXSOBMC5JPPQII4UCIV4V7/

Reply via email to