Tres Seaver wrote:
> Tarek Ziadé wrote:
> > On Tue, Apr 7, 2009 at 8:47 PM, Lennart Regebro <rege...@gmail.com>
> wrote:
> >> On Tue, Apr 7, 2009 at 20:18, Tarek Ziadé <ziade.ta...@gmail.com>
> wrote:
> >>> If anyone wants to work on it, or comment,
> >> Some comments:
> >>
> >>> "MANIFEST.in is fine"
> >> Except that it introduces Yet Another Domain Specific Language. Wtf
> >> does "prune" mean? It's not obvious. The docs indicate that it
> >> actually excludes, but why it's not called "exclude" is then strange.
> >> We already have a language, Python. We don't need more. ;-)
> >>
> >> And the fact that is uses a separate file doesn't help.
> >>
> >> Yes, I know I'm just whining. But I don't agree that MANIFEST.in is
> >> fine. I think it is unfine. :)
> > I agree with this. Remember: I wanted to deprecate MANIFEST.in in
> favor of
> > a pure python description. Then people strongly objected.
>
> I want *less* stuff (ideally nothing) spelled in imperative Python, with
> some common declarative file replacing both the information currently in
> setup.py and MANIFEST.in.  I thought we were in agreement that
> non-introspectable metadata was a Bad Thing(TM)?

It is possible to use a single, static format which is a bit more
powerful than .ini (to allow conditional and the likes), like haskell
packaging tool does [1] (or rpm .spec file does as well [2]). I am
convinced that such a format would cover many needs without even needing
any python code except a dummy setup file. It also has the advantages
that it can be made compatible with distutils and a potential successor.

This problem has been solved by other people in other communities. It
may not be perfect, but it is certainly better than the current
distutils situation, and it has been widely used,

cheers,

David

[1]
http://www.haskell.org/cabal/release/cabal-1.6.0.2/doc/users-guide/authors.html#pkg-descr
[2] http://www.rpm.org/max-rpm/s1-rpm-inside-conditionals.html
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to