...
Configure Apache to use mod_wsgi
First we need to check if apache is loading mod_python, search the httpd configs in /etc/httpd/
recursively for the string "python_module". If this module is loaded, commented comment it out.
In the main httpd config file: /etc/httpd/httpd.conf, include the eas config file mad.htconf.
...
preliminary
- yum install gcc-c++
- sudo yum install python-devel (to support python bindings)
- sudo yum install swig (to support python bindings)
install
- ./configure (or ./configure --enable-python)
- ./make (or just make)
- sudo ./make install
...
http://download.osgeo.org/gdal/gdal-1.6.2.tar.gz
http://geodjango.org/docs/install.html
Without GDAL, geodjango wfs does not work.
We build without the gdal python bindings because geodjango has its own.
The install is bog standard; make takes a good while.
- ./configure ./configure --with-python
- make
- sudo make install
links http://geodjango.org/docs/install.html
DJANGO
Since this is pure python, you can copy this into the python site-packages.
Or install as you see fit.
...