[GRASS-dev] [GRASS GIS] #640: setup.py may use different Python
than configured for GRASS
GRASS GIS
trac at osgeo.org
Thu Jun 11 16:40:22 EDT 2009
#640: setup.py may use different Python than configured for GRASS
-------------------------+--------------------------------------------------
Reporter: kyngchaos | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
GRASS can be configured for a specific copy of Python, which could be
needed if a different version than desired is first in your PATH (maybe a
newer or experimental, incompatible version). But, when compiling vdigit
and wx nviz for the wx GUI, "python" is used, which may not be the same as
was configured. This could cause compilation problems, especially on OSX
where setup tools compilation is very particular about the
MACOSX_DEPLOYMENT_TARGET.
It looks like platform.make would need another variable to hold the python
program path, created from "python-config --prefix".
A quick fix until this is done is to temporarily add the desired python
bin to the shell PATH for the GRASS build.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/640>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list