[Distutils] Fwd: specify manifest template other than MANIFEST.in

Éric Araujo merwok at netwok.org
Thu Mar 22 03:19:19 CET 2012


Hello,

>>> The docs seems to suggest you can override the default name MANIFEST.in,
>> Correct.  I tried finding which part of the doc hinted about that to see
>> if I could improve it and could not find it!  Do you have the link?
> http://docs.python.org/distutils/sourcedist.html#manifest-related-options

That’s definitely lacking, I’ll add the other options to that section.

>>> however, I cannot seem to find an option or parameter to do so.
>> Manifests and manifests templates are only used by the sdist command.
>> If you run “python setup.py sdist -h”, you’ll find the --template/-t option.
> I am trying to run sdist throught distrubute or setuptools, I didn';t see that
> options.  In fact, 'sdist -h' was the first thing I tried.  I will try
> with stock distutils and see if it is there.

>From a quick look at the code setuptools’ sdist command ignores
MANIFEST.in and MANIFEST altogether and takes the list of files from the
version control system.

Cheers


More information about the Distutils-SIG mailing list