gar.conf.mk: setting PYTHONPATH



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]