[Distutils] sdist README.rst without MANIFEST

Lennart Regebro regebro at gmail.com
Tue Nov 19 10:15:29 CET 2013

For plain distutils, I don't think so. Setuptools will include it if
it's included in the version control, but it seems that consensus is
moving towards always having a MANIFEST.in.

check-manifest is a useful tool here:


It integrates nicely with zest.releaser as well.

On Tue, Nov 19, 2013 at 9:18 AM, anatoly techtonik <techtonik at gmail.com> wrote:
> I use this in setup.py:
>     ..
>     long_description = open('README.rst', 'rb').read(),
>     ..
> Which fails during installation, because README.rst is not shipped.
> The usual way to include is through MANIFEST.in
>     http://docs.python.org/2/distutils/sourcedist.html
> Is it possible to include README.rst with source distribution, but
> without creating yet another file? Is it possible to specify includes
> in setup.py?
> --
> anatoly t.
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig

More information about the Distutils-SIG mailing list