[Distutils] Changing distribution versions runtime

Phillip J. Eby pje at telecommunity.com
Wed Jan 14 19:01:41 CET 2009


At 01:52 PM 1/14/2009 +0200, bl8cki wrote:
>To avoid removing added things in working_set ... i remove the entry 
>for which i need to switch versions in easy-install.pth and then 
>only 'resolve'-ing and 'add'-ing to the working_set.
>
>I don't know if this (removing the lines in easy-install.pth) will 
>reflect on easy_install to work properly, but for now i'm happy with 
>this solution :)
>
>Still will be very thankful for any comments and suggestions.

"easy_install -m projectname" will remove the line for you.  For that 
matter, using -m when you install those eggs in the first place will 
also do the trick.



More information about the Distutils-SIG mailing list