It seems a fairly good solution to me, though maybe putting the .py in a lib subdir named after the actual python installation would be better, wouldn't it? I think there should surely be a way to do that, with python -V and some command subsitution, I believe.
Daniele 2008/4/21 Christian Holzberger <[EMAIL PROTECTED]>: > 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@lists.gobolinux.org > > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel > -- > MOSAIK Software - Christian Holzberger > Web: http://www.mosaik-software.de > > > > _______________________________________________ > gobolinux-devel mailing list > gobolinux-devel@lists.gobolinux.org > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel > >
_______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel