[Gdal-dev] Python next-gen bindings enabled in trunk
Christopher Barker
Chris.Barker at noaa.gov
Wed Oct 24 14:56:45 EDT 2007
Frank Warmerdam wrote:
>> Ideally, I'd like to be able to use python bindings *without*
>> necessity of running any install steps
> Mateusz,
>
> I do this all the time with the new bindings! It's just that the
> PYTHONPATH item I insert is messy.
>
> warmerda at amd64[1]% echo $PYTHONPATH
> /home/warmerda/gdal/swig/python/build/lib.linux-x86_64-2.4:/home/warmerda/mapserver/mapscript/python/build/lib.linux-x86_64-2.4
Am I reading wrong, or is that the same path twice?
Anyway, another option is to use the --inplace option to "setup.py
build", or, if you have setuptools, the "develop" command:
http://peak.telecommunity.com/DevCenter/setuptools#development-mode
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Gdal-dev
mailing list