Qgis in mavericks

Assume you have homebrew
It throws some warnings now and then but still works ok.
brew install python --with-brewed-openssl
brew install gfortran
pip install scipy
brew install pkg-config
pip install matplotlib
cd ~/src
wget http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.2.tar.gz
tar xvf psycopg2-2.5.2.tar.gz 
cd psycopg2-2.5.2
nano setup.cfg
make it look like this
# PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
# PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
# HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.4
# HAVE_PQPROTOCOL3 should be defined on PostgreSQL >= 7.4
# PSYCOPG_DEBUG can be added to enable verbose debug information
# PSYCOPG_OWN_QUOTING can be added, but it is deprecated (will go away in 2.1)
# PSYCOPG_NEW_BOOLEAN to format booleans as true/false vs 't'/'f'
# Set to 1 to use Python datatime objects for default date/time representation.
# If the build system does not find the mx.DateTime headers, try
# uncommenting the following line and setting its value to the right path.
# For Windows only:
# Set to 1 if the PostgreSQL library was built with OpenSSL.
# Required to link in OpenSSL libraries and dependencies.
# Statically link against the postgresql client library.
# "pg_config" is the preferred method to locate PostgreSQL headers and
# libraries needed to build psycopg2. If pg_config is not in the path or
# is installed under a different name uncomment the following option and
# set it to the pg_config full path.
# If "pg_config" is not available, "include_dirs" can be used to locate
# postgresql headers and libraries. Some extra checks on sys.platform will
# still be done in setup.py.
# The next line is the default as used on psycopg author Debian laptop:
# Uncomment next line on Mandrake 10.x (and comment previous ones):
# Uncomment next line on SUSE 9.3 (and comment previous ones):
# If postgresql is installed somewhere weird (i.e., not in your runtime library
# path like /usr/lib), just add the right path in "library_dirs" and any extra
# libraries required to link in "libraries".
then install
sudo python setup.py install
  1. Download and install the GDAL Complete framework (double click and install the package) – this gives you some required frameworks (applications) including GDAL, GEOS and SQLite (which are all useful in their own right) giving you command line access to those apps as well;
  2. Download and install the GSL framework (double click and install the package);
  3. Download and install QGIS (open the .dmg and drag the app to the Applications folder).
Alternatively you can install full apple python and ignore all above brew libraries
Nice addon for spotlight: http://cartography.oregonstate.edu/GISLook.html


Proud member of DA.

Bloemfonteinstraat 62, 
    room 1,2,9
5642 EH Eindhoven
phone: +316-81888456