[Distutils] Static metadata using setup.cfg
David Lyon
david.lyon at preisshare.net
Tue Sep 8 13:00:43 CEST 2009
On Tue, 08 Sep 2009 09:18:50 +0100, Chris Withers <chris at simplistix.co.uk>
wrote:
> <mini rant>
> If Python had a packaging system *and* used it for the standard library,
> then things like this wouldn't be a problem...
> The setup.cfg could just say "requires sqlite greater than version
> x.y.z", and if it was in the standard library, it would be used unless a
> newer version was needed.
+1
Actually, this was already discussed on this mailing list.
I suggested that a "requires" section could easily do this, something
along the lines of:
[Requires]
stdlib=sqlite>=1.5
So the concept of having an if/else test for this is superfluous.
> It would also mean it would be possible to
> release bug fix versions of the standard library packages without having
> to roll a whole python release.
+1
> Better yet, since "python" should be a package as far as the packaging
> system is concerned, library versions can just say what versions of
> python they work with.
+1 - good idea
David
More information about the Distutils-SIG
mailing list