[gobolinux-devel] python .pth file support in /System/Links/Librarys/python2.X/site-packages
Christian Holzberger
gobo at mosaik-software.de
Tue Apr 22 06:36:14 NZST 2008
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)
--
MOSAIK Software - Christian Holzberger
Web: http://www.mosaik-software.de
-------------- next part --------------
import site; known = site.addsitedir("/System/Links/Libraries/python2.3/site-packages/")
import site; known = site.addsitedir("/System/Links/Libraries/python2.4/site-packages/",known)
import site; known = site.addsitedir("/System/Links/Libraries/python2.5/site-packages/",known)
/System/Links/Libraries/python2.3/site-packages/
/System/Links/Libraries/python2.4/site-packages/
/System/Links/Libraries/python2.5/site-packages/
More information about the gobolinux-devel
mailing list