Table of Contents
Installation Guidelines: Mac - Developer (Manual)
Install Apple Xcode Developer Tools
Install Command Line Tools
The Xcode Command Line Tools need to be installed after Xcode has been installed. To install the Command Line Tools:
- Open Xcode
- Open Xcode -> Preferences, and select the Download tab.
- Under the Components tab, click the Install button next to Command Line Tools. Note that this may require you to create a developer account with Apple to complete the download.
If you do not see Command Line Tools under the Components tab you can run the command
xcode-select --install in the terminal to preform the same operation.
Caution: The Xcode download is over 3GB.
Installation via Homebrew
If you aren't already using Homebrew, install it now.
For some GIS features of Eden (e.g. if you would rather use PostgreSQL with PostGIS instead of MySQL) you are required to install the GDAL framework. GEOS is also required, and is a dependency of shapely.
brew install gdal geos
It's probable that you already have Python 2.7.x installed but check with
If you don't, or want an OS-version-independent installation, install with Homebrew:
brew install python.
The Homebrew version of Python also installs
pip which you'll use for the following required Python packages:
pip install python-dateutil pip install lxml pip install shapely pip install reportlab pip install xlrd pip install xlwt pip install pyserial pip install tweepy pip install Pillow
PostgreSQL + PostGIS extensions
If you want to use PostgreSQL - PostGIS (for which you will need GDAL, above):
brew install postgresql postgis
Check whether you already have git installed by:
If not then
brew install git
Configure git; install Web2Py and Sahana Eden: