= 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 S3Cube pivot table functions) NB 32-bit Python should be used even on 64-bit Windows: * http://python.org/ftp/python/2.7.2/python-2.7.2.msi == Install Python Libraries == Windows users should generally use Windows Installers, where available ==== 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.13.win32-py2.7.exe * [http://www.reportlab.com/software/opensource/rl-toolkit/download/ ReportLab] for PDF output: http://www.reportlab.com/ftp/reportlab-2.5.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://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/xlwt xlwt] for XLS output * [http://numpy.scipy.org numpy] required by matplotlib * [http://www.scipy.org/Installing_SciPy SciPy] required for S3Cube * [http://matplotlib.sourceforge.net/users/installing.html MatPlotLib] for charts (used in the Survey application & for the S3Cube pivottable reports) * [http://pypi.python.org/pypi/tweepy/ tweepy] python library to interact with twitter * [http://sourceforge.net/projects/pyserial/files/ Pyserial] for SMS Features * [http://pypi.python.org/pypi/pytz/ PyTZ] for Timezone awareness * [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/psycopg2-2.4.2.win32-py2.7-pg9.0.4-release.exe PostgreSQL-9.0.4] * [http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.2.1.win32-py2.7-pg8.4.4-release.exe PostgreSQL-8.4.4] == Install git == We use the [http://git-scm.com/ git] Distributed Version Control System Several downloads are [http://code.google.com/p/msysgit/downloads/list available here], pick the latest one available and install it. Make sure that the shell extension is installed. If you want to develop using the forks feature of github (which are basically branches - but in your own repository) or by direct code commits to the eden repository, you have to [https://github.com/signup/free create a GitHub account]. After that you can setup your GIT by configureing your SSH Keys and accountdata. A pretty good tutorial is available at the [http://help.github.com/win-set-up-git/ GitHub-Manual]. == Next == Install Web2Py & Sahana: * InstallationGuidelines/Developer/PostPython