[Distutils] Deprecate MANIFEST.in

P.J. Eby pje at telecommunity.com
Mon Apr 6 16:04:28 CEST 2009


At 03:40 PM 4/6/2009 +0200, Tarek Ziadé wrote:
>On Mon, Apr 6, 2009 at 3:40 PM, P.J. Eby <pje at telecommunity.com> wrote:
> > At 03:11 AM 4/6/2009 +0200, Tarek Ziadé wrote:
> >>
> >> Right,
> >> that would require something else, maybe a new one, ignored by the
> >> install command
> >> and using the glob-style pattern.
> >>
> >> This means the glob-style pattern will need to have an exclude mechanism
> >> if some non-installed data are inside a directory that is added in
> >> package_data
> >> (like the tests directory if it's located in the src directory)
> >
> > We already have this...  it's called MANIFEST.in.
> >
>
>hum, ok let's deprecate what package_data provides then, (the ability
>to define a list
>of files without a MANIFEST.in template)....

MANIFEST.in (under setuptools at least) is merely a way to specify 
*exceptions* to the defaults, for what goes in the sdist.

I don't understand why you're so anxious to deprecate something 
without first understanding what it's for.

If you want to put some sort of sdist_exceptions in setup.py to 
replace the *file*, that's one thing, but the *same functionality* of 
MANIFEST.in is still needed, or else setuptools would've deprecated it.



More information about the Distutils-SIG mailing list