f.close() should be appended to that gobo_python_setup.py On Mon, 2008-04-21 at 21:11 +0200, Christian Holzberger wrote: > ok ive made an error, a recursion problem exist. > > i came up with a different solution, > under /Programs/Python/Settings i created gobopython which contains all > pythonpaths we need to have additionaly (just a path line for line) > > in /Programs/Python/2.5.1/lib/python2.5/site-packages i added: > > gobo_python_setup.py: which sets up site dirs (its attached) it wont run > twice! > and in gobolinux.pth gobo_python_setup.py is just started, this solution > works over here. > > i think the file in Settings should be renamed, any hints for usefull > names? and the path in gobo_python_setup.py should not be hardcoded (so > python can installed to another prefix). > > how do you like this solution any suggestions? > > 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 > _______________________________________________ > 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