[Distutils] setuptools: MANIFEST generation
Phillip J. Eby
pje at telecommunity.com
Wed Jul 13 17:47:52 CEST 2005
At 01:39 AM 7/13/2005 -0500, Ian Bicking wrote:
>I noticed in the documentation it said that setuptools can find files
>based on version control when creating source distributions.
>
>This almost never applies to my packages (at least the well made ones ;)
>because I have html files generated from txt sources, and I like to
>include the html. Is there any way to tell setuptools to add certain
>files, but still automatically detect everything else? It seemed to do
>an okay job when I created a MANIFEST.in with everything but
>"recursive-include . *.html" commented out, but there might be something
>I'm missing about it.
>
>Additionally, it would be nice to be able to exclude files, like files I
>use for internal package administration, or large svn externals which
>should be separate packages.
Hm. Good points. I'll put it on my list to see if there's a way to
integrate this, although it may be that it's already integrated. That is,
if the distutils sdist command already applies its "get default files"
before processing MANIFEST.in, the net result should be the same, with the
exception that you'll have to use -f all the time to get the MANIFEST
regenerated when anything changes. (Currently, setuptools' sdist
regenerates MANIFEST every time if you have no MANIFEST.in, thereby saving
you the trouble.)
Hm. Maybe there should be a MANIFEST.extra that would do the same
thing. Anyway, something to think about for *after* I get the current
stuff on a testing regime.
>--
>Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
>_______________________________________________
>Distutils-SIG maillist - Distutils-SIG at python.org
>http://mail.python.org/mailman/listinfo/distutils-sig
More information about the Distutils-SIG
mailing list