[Python-Dev] standard libraries don't behave like standard 'libraries'
Matthew Wilkes
matthew at matthewwilkes.co.uk
Thu Nov 12 13:13:39 CET 2009
Oh, I see.
> use library 1.1.5
versus
> use library 1.1.6 #thats all now i get all features
That's part of pkg_resources. It looks like this:
pkg_resources.require("mylibrary==1.1.6")
import mylibrary
There are plenty of other ways to manage this, most people use systems
like virtualenv or buildout, but that's a discussion for the normal
python mailing list, not the development one.
Hope that helps,
Matt
More information about the Python-Dev
mailing list