gar.conf.mk: setting PYTHONPATH
- From: "Joseph E. Sacco, PhD" <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Cc: Paul Drain <pd cipherfunk org>
- Subject: gar.conf.mk: setting PYTHONPATH
- Date: Wed, 31 Aug 2005 14:06:24 -0400
It has become necessary to add and export PYTHONPATH in order to build
GARNOME-2.11.x. The 2.11.92 version of gar.conf.mk, hard-wires "2.3"
into the PYTHONPATH, which is not a good idea.
Here is an alternative:
# If you want to use a different version of python everywhere
# change this
PYTHON = $(shell which python)
PYVER = $(shell $(PYTHON) -V 2>&1 | awk '{print $$2}' | cut -b1-3)
PYTHONPATH=$(main_libdir)/python$(PYVER)/site-packages:$(main_libdir)/python$(PYVER)/site-packages/gtk-2.0
-Joseph
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]