Version 12 (modified by 13 years ago) ( diff ) | ,
---|
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:
Install Python Libraries
Windows users should generally use Windows Installers, where available
Mandatory
- lxml for XML export/import: http://pypi.python.org/packages/2.7/l/lxml/lxml-2.3.win32-py2.7.exe
- Shapely for GIS Features: http://pypi.python.org/packages/2.7/S/Shapely/Shapely-1.2.13.win32-py2.7.exe
- ReportLab for PDF output: http://www.reportlab.com/ftp/reportlab-2.5.win32-py2.7.exe
- PIL Python Image Library for PDFs: http://effbot.org/downloads/PIL-1.1.7.win32-py2.7.exe
- setuptools for installing dateutil (& tweepy): http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe
- 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
- No Windows installer, so install by unzipping, opening a command line inside the folder &
Optional
- xlwt for XLS output
- numpy required by matplotlib
- SciPy required for S3Cube
- MatPlotLib for charts (used in the Survey application & for the S3Cube pivottable reports)
- MySQLDB for accessing MySQL databases: http://www.codegood.com/download/10/
- Psycopg for accessing PostgreSQL databases:
Install Bzr
We use the Bazaar Distributed Version Control System Several downloads are available, but we recommend using the Python Installer:
Once you have done some hacking & are ready to share this with others, then register for an account on LaunchPad, generate an SSH Key (ssh-keygen
), and then push to your branch:
- Unzip ssh.zip to a folder in your path (e.g. 'windows')
set HOME = C:\Users\windowsusername
(Best to do this in System Properties | Environment Variables to preserve across boots)- Create SSH keypair using
ssky-keygen.cmd
-
bzr whoami "Full Name <email@address.org>" bzr add bzr remove bzr commit bzr launchpad-login mylpusername bzr push lp:~mylpusername/sahana-eden/mybranch
Next
Install Web2Py & Sahana:
Attachments (1)
-
ssh-keygen.cmd
(140 bytes
) - added by 13 years ago.
Wrapper for ssh-keygen
Download all attachments as: .zip