[wxPython-dev] Re: 20061118 test build uploaded

Paul McNett p at ulmcnett.com
Tue Nov 21 10:02:26 PST 2006


Robin Dunn wrote:
> All *.pth files are loaded, and probably in no particular order.  So 
> having both wx*.pth files will cause both paths to be added to the 
> sys.path.  You might want to consider just having one file and edit it 
> when you want to change the default.  I think you can have # comments in 
> the file so you could have both paths listed in there, and just comment 
> out the one you don't want to be active.

Correct, and this is what I do. I have a wx.pth symlink in my home 
directory, with entries for 2.6.3.3 and 2.7.2. One is commented. I have 
a script that I can run at the commandline such as:

wx stable
wx dev

Works well.

-- 
pkm ~ http://paulmcnett.com





More information about the wxpython-dev mailing list