[gobolinux-devel] python .pth file support in /System/Links/Librarys/python2.X/site-packages

Christian Holzberger gobo at mosaik-software.de
Tue Apr 22 09:17:13 NZST 2008


ok after some talk to mohjive on irc we even came up with a better
solution

the attached recipe handles the site-packages correctly and makes
gobolinux.pth obsolete.
 
On Mon, 2008-04-21 at 20:36 +0200, Christian Holzberger wrote:
> hi,
> 
> iam using gobo for a few days now and i really must admit that i liek
> the directory layout very much. 
> 
> in the python installation (tested with 2.5 and 2.5.1) there is an error
> regaring .pth files in the system wide site-packages dir. 
> 
> (pygtk error, vobject error etc.) 
> 
> if i add 
> import site; known =
> site.addsitedir("/System/Links/Libraries/python2.5/site-packages/")
>  
> python will find my installed addons and load the .pth files just right 
> 
> i attached an corrected version of gobolinux.pth to this message and
> hope that it will get part of the standard python distribytuin in gobo.
> (to not have to patch it by hand everytime a new version comes out) 
> 
> 
> - christian  (molle)
> _______________________________________________
> gobolinux-devel mailing list
> gobolinux-devel at lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
-- 
MOSAIK Software - Christian Holzberger 
Web: http://www.mosaik-software.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Recipe
Type: text/x-gobo-recipe-source
Size: 830 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20080421/4cdf7e4f/attachment-0002.bin 


More information about the gobolinux-devel mailing list