[[TOC]] = Installation Guidelines: Windows - Developer (Manual) = If you are a Developer running Windows and wishing to install Python & all dependent libraries manually then this is the right page for you. == Install Python == 2.7 is currently recommended. (2.6 works for all core functionality, but doesn't allow you to use the S3Report pivot table functions) NB 32-bit Python should be used even on 64-bit Windows: * http://python.org/ftp/python/2.7.5/python-2.7.5.msi == Install Python Libraries == Windows users should generally use Windows Installers, where available Note: These libraries are checked here: * https://github.com/flavour/eden/blob/master/modules/s3_update_check.py === Mandatory === * [http://codespeak.net/lxml lxml] for XML export/import: http://pypi.python.org/packages/2.7/l/lxml/lxml-2.3.win32-py2.7.exe * [http://pypi.python.org/pypi/Shapely/ Shapely] for GIS Features: http://pypi.python.org/packages/2.7/S/Shapely/Shapely-1.2.18.win32-py2.7.exe * [http://pypi.python.org/pypi/setuptools/ setuptools] for installing dateutil (& tweepy): http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe * [http://labix.org/python-dateutil dateutil]: http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz * No Windows installer, so install by unzipping, opening a command line inside the folder & {{{python setup.py install}}} === Optional === * [http://pypi.python.org/pypi/xlrd xlrd] for XLS output: http://pypi.python.org/packages/any/x/xlrd/xlrd-0.7.9.win32.exe * [http://pypi.python.org/pypi/xlwt xlwt] for XLS output: http://pypi.python.org/packages/any/x/xlwt/xlwt-0.7.3.win32.exe * [http://www.reportlab.com/software/opensource/rl-toolkit/download/ ReportLab] for PDF output: http://www.reportlab.com/ftp/reportlab-2.7.win32-py2.7.exe * [http://www.pythonware.com/products/pil/ PIL] Python Image Library for PDFs: http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe * [http://gdal.org GDAL] for Shapefile support: * http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-gdal-1-10-1-mapserver-6-4-0\GDAL-1.10.1.win32-py2.7.msi * http://www.gisinternals.com/sdk/Download.aspx?file=release-1600-gdal-1-10-1-mapserver-6-4-0\gdal-110-1600-core.msi * [https://pypi.python.org/pypi/PyRTF PyRTF] for Survey to export as RTF: http://sourceforge.net/projects/pyrtf/files/pyrtf/0.45/PyRTF-0.45.tar.gz/download * [http://matplotlib.sourceforge.net/users/installing.html MatPlotLib] for charts (used in the Survey application but not for the S3Report pivottable reports): http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.3.0/matplotlib-1.3.0.win32-py2.7.exe/download * [http://numpy.scipy.org numpy] required by matplotlib & also Vulnerability module: http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/numpy-1.7.1-win32-superpack-python2.7.exe/download * [http://ipython.org IPython] for a nicer interactive shell: http://archive.ipython.org/release/0.12.1/ipython-0.12.1.win32.exe * [http://sourceforge.net/projects/pywin32/ Python extensions for Windows]: http://sourceforge.net/projects/pywin32/files/pywin32/Build218/pywin32-218.win32-py2.7.exe/download * [http://pypi.python.org/pypi/tweepy/ tweepy] python library for Twitter !Send/Receive: https://pypi.python.org/packages/source/t/tweepy/tweepy-2.1.tar.gz * [https://github.com/ckoepp/TwitterSearch TwitterSearch] python library to search Twitter: https://github.com/ckoepp/TwitterSearch/archive/master.zip * [http://sourceforge.net/projects/pyserial/files/ Pyserial] to use a Modem for SMS: http://sourceforge.net/projects/pyserial/files/pyserial/2.5/pyserial-2.5.win32.exe/download * [https://pypi.python.org/pypi/rpy2/ RPy2] for Climate module: https://pypi.python.org/packages/source/r/rpy2/rpy2-2.3.8.tar.gz * [http://www.scipy.org SciPy] for Climate module: http://www.lfd.uci.edu/~gohlke/pythonlibs/dhzoqiqp/scipy-0.12.0.win32-py2.7.exe * [http://www.unidata.ucar.edu/software/netcdf/ NetCDF] for Climate module: https://code.google.com/p/netcdf4-python/downloads/detail?name=netCDF4-1.0.5.win32-py2.7.exe&can=2&q= * [http://pypi.python.org/pypi/pytz/ PyTZ] for Timezone awareness (unused currently) * [http://pypi.python.org/pypi/pywurfl/ PyWURFL] for Browser Capabilities (unused currently) * [http://pypi.python.org/pypi/MySQL-python/ MySQLDB for accessing MySQL databases]: http://www.codegood.com/download/10/ * [http://initd.org/psycopg/ Psycopg for accessing PostgreSQL databases]: * [http://www.stickpeople.com/projects/python/win-psycopg/2.5.1/psycopg2-2.5.1.win32-py2.7-pg9.2.4-release.exe PostgreSQL-9.2.4] == Install git == We use the [http://git-scm.com/ git] Distributed Version Control System, and [https://github.com/flavour/eden host our code on GitHub]. Several downloads are [http://code.google.com/p/msysgit/downloads/list available here], pick the latest one available and install it. The easiest way to get code you develop into the main Eden repository is to "fork" the Eden code on GitHub into your own GitHub repository. For that, you'll need to [https://github.com/signup/free create a GitHub account]. After that you can setup your git by configuring your Github account infor and (optionally) setting up your SSH keys (you can use a password instead of keys). A pretty good tutorial is available at the [http://help.github.com/win-set-up-git/ GitHub-Manual]. == Next == Configure git; install Web2Py and Sahana Eden: * InstallationGuidelines/Developer/PostPython