On Tue, 08 Sep 2009 09:18:50 +0100, Chris Withers <ch...@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 _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig