[Distutils] Static metadata using setup.cfg

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue Sep 8 04:13:50 CEST 2009


Chris Withers wrote:
> Seems like a bad goal to me.
>
> I'd prefer setup.cfg to be totally static. If there are complicated
> if/then/else's needed, they should be in setup.py.
>
> As soon as this file becomes dynamic, we're back in the situation
> where you can't tell what a package requires without installing it,
> which is something I'd really like to not have to do.

I don't see how you would reach that conclusion - rpm spec files have
basic if/then/else, and they certainly don't have the problem you
mention. Cabal files in haskell have this construction as well. Both
work very well.

cheers,

David


More information about the Distutils-SIG mailing list