|Version 4 (modified by 11 years ago) ( diff ),|
- You will propably need the GIS features of Eden. Before you proceed install the GDAL framework
- You also need to install some modules of python
STATIC_DEPS=true sudo easy_install lxml sudo easy_install shapely sudo easy_install reportlab sudo easy_install xlwt sudo easy_install pyserial sudo easy_install tweepy
- In case you want to use PostgreSQL - PostGIS (I assume you already installed the spatial modules before)
Install the one clickInstaller sponsored by EnterpriseDB PostgreSQL and select also installation of postgis.
Then based on this article http://schwuk.com/articles/2009/09/10/psycopg2-on-os-x install the python database driver
sudo easy_install pip PATH=$PATH:/Library/PostgreSQL/8.4/bin/ sudo pip install psycopg2 defaults write com.apple.versioner.python Prefer-32-Bit -bool yeswithout the last you will not be able to see available the PostgreSQL driver when web2py launch
lxmlcan give trouble on OS X. Try:
STATIC_DEPS=true sudo easy_install lxml(adapted from this blog post)
- remove other
libxml2versions, such as may have been installed by
finkor MacPorts - ONLY works in unmodified python setup. In case you have modified your python you must link some how the python directory with /frameworks/python otherwise lxml will not being found(not tested)
- Mac OS X: Xcode to compile some Python libraries: http://developer.apple.com/technologies/tools/xcode.html
Install Web2Py & Sahana:
Note: See TracWiki for help on using the wiki.