FS#1240 - python: adding /opt/gnome/lib/python2.3 to PYTHONPATH
Attached to Project:
Arch Linux
Opened by Link Dupont (link) - Monday, 09 August 2004, 04:06 GMT
Last edited by Judd Vinet (judd) - Monday, 09 August 2004, 16:57 GMT
Opened by Link Dupont (link) - Monday, 09 August 2004, 04:06 GMT
Last edited by Judd Vinet (judd) - Monday, 09 August 2004, 16:57 GMT
|
Details
I suggest adding /opt/gnome/lib/python2.3 to the environment
variable PYTHONPATH. This will allow GNOME applications that
are written in Python to work with the basic,
prefix=/opt/gnome install, without a lot of mving
afterwards. This could be added in the
/etc/profile.d/gnome.sh.
http://www.python.org/doc/2.3.4/inst/search-path.html Down at the bottom (second to last paragraph). |
This task depends upon
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.3/site-packages:$GNOMEDIR/lib/python2.3/site-packages
That works for me.
fixed