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

Thomas Kluyver <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <1536559718.170299.1502450192.4543C9A4@webmail.messagingengine.com>
On Mon, Sep 10, 2018, at 12:33 AM, Bert JW Regeer wrote:
> Speaking as a maintainer of various different packages for the Pylons
> project, we include the following in our sdists:> 
> - source code for the package
> - tests for the package
> - documentation for the package
> 
> and of course the license/history/changelog/everything you'd
> theoretically need to create a fork (minus .git). Our sdists are
> pretty big as a result.
When I was working out how Flit could build sdists without a
MANIFEST.in, I settled on the idea that an sdist should be more or less
a static equivalent of checking out the git tag for that release. So if
a project lost its VCS history, all the files from release versions
would still be in sdists. That means all the source files are there
(like rst docs), but not generated files (like Sphinx HTML output).
Now that 'pip install' gets wheels where possible, there's less pressure
to make sdists as slim as possible, because far fewer people will need
to wait for them to download.

--
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/FOX6YWO2NPY6ONE4RDKVD5JCTWSTIDG3/
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.