I use MacPorts (http://www.macports.org/) on MacOSX to deal with
Python, GDAL, PostGIS et al.

MacPorts (previously Darwin Ports) is not a Python distribution nor a
bunch of MacOSX bundle packages but a set of programs and a package
repository, very much like the "port" system on BSD.
It allows you to fetch, compile and install packages and dependencies
from the MacPorts repository in one command :
# port install gdal +python +postgresl84 +geos

How do I get the name of the package ? The "+" options ? Two simple commands :
# port search gdal
...
gdal @1.6.2 (gis)
    GDAL - Geospatial Data Abstraction Library
...

# port info gdal
...
Variants:             curl, framework, geos, hdf4, hdf5, jasper, mrsid, mysql5,
                      netcdf, odbc, postgresql81, postgresql82, postgresql83,
                      postgresql84, python24, python25, python26, sqlite3,
                      universal, xerces
...


If you are comfortable with Unix and command line, you should give it a try.

About Python specifically, I use MacPorts when packages are available,
but pypi/pip is now my preferred tool (with virtualenv in my case).


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to