[Distutils] Including test and docs in distribution

David Cournapeau cournape at gmail.com
Tue Jun 22 05:34:46 CEST 2010

On Tue, Jun 22, 2010 at 11:04 AM, Michael Foord <fuzzyman at gmail.com> wrote:
> Hey all,
> I have a single module I distribute and I would *like* to include the tests
> (a package) and docs (sphinx generated - single directory) in the
> distribution  - but not have them "installed" by setup.py.

By distribution, you mean the tarball generated by sdist ? In that
case, just use the MANIFEST.in, and ensure the doc is build when doing
a sdist. You could for example use paver to do that.



More information about the Distutils-SIG mailing list