Should an sdist/MANIFEST.in include docs and tests?

Segev Finer <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CA+17rUkBeXJRhfoSp7+ji9bvZA5Re=R9KbiiTjB94akC_0NZ0A@mail.gmail.com>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.