[Distutils] Changing distribution versions runtime

bl8cki bl8cki at gmail.com
Tue Jan 13 13:05:56 CET 2009


Hello all,

I would like at runtime to change the used version of installed egg ... (for
example based on some condition import specific version)

and the only solution i end up with is to remove from the 'working_set'
'by_key' hash the best matched version, added when importing pkg_resources,
and then 'resolve' the wished one and add it. otherwise i end up with
version conflict.

I do not want to add version in package naming (package_0_1) ... but that
would be the fastest solution :)

What's the best thing i can do?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20090113/89b2bd9e/attachment.htm>


More information about the Distutils-SIG mailing list