| 1 | = Installation Guidelines: Linux - Developer = |
| 2 | |
| 3 | == Install Python == |
| 4 | 2.7 is currently recommended. (2.6 works for all core functionality, but doesn't allow you to use the S3Cube pivot table functions) |
| 5 | |
| 6 | == Install Python Libraries == |
| 7 | Linux users should generally use Operating System Packages, where available. |
| 8 | Examples are shown for Debian-based systems |
| 9 | |
| 10 | ==== Mandatory ==== |
| 11 | * [http://codespeak.net/lxml lxml] for XML export/import: {{{apt-get install python-lxml}}} |
| 12 | * [http://pypi.python.org/pypi/Shapely/ Shapely] for GIS Features: {{{apt-get install python-shapely}}} |
| 13 | * [http://www.reportlab.com/software/opensource/rl-toolkit/download/ ReportLab] for PDF output: {{{apt-get install python-reportlab}}} |
| 14 | * [http://www.pythonware.com/products/pil/ PIL] Python Image Library for PDFs: {{{apt-get install python-imaging}}} |
| 15 | * [http://labix.org/python-dateutil dateutil]: {{{apt-get install python-dateutil}}} |
| 16 | |
| 17 | ==== Optional ==== |
| 18 | * [http://pypi.python.org/pypi/xlwt xlwt] for XLS output: {{{apt-get install python-xlwt}}} |
| 19 | |
| 20 | * [http://numpy.scipy.org numpy] required by matplotlib |
| 21 | * [http://www.scipy.org/Installing_SciPy SciPy] required for S3Cube |
| 22 | * [http://matplotlib.sourceforge.net/users/installing.html MatPlotLib] for charts (used in the Survey application & for the S3Cube pivottable reports) |
| 23 | |
| 24 | * [http://pypi.python.org/pypi/setuptools/ setuptools] for installing tweepy |
| 25 | * [http://pypi.python.org/pypi/tweepy/ tweepy] python library to interact with twitter |
| 26 | * [http://sourceforge.net/projects/pyserial/files/ Pyserial] for SMS Features |
| 27 | |
| 28 | * [http://pypi.python.org/pypi/pytz/ PyTZ] for Timezone awareness |
| 29 | * [http://pypi.python.org/pypi/pywurfl/ PyWURFL] for Browser Capabilities (unused currently) |
| 30 | |
| 31 | * [http://pypi.python.org/pypi/MySQL-python/ MySQLDB for accessing MySQL databases]: {{{apt-get install python-mysqldb}}} |
| 32 | * [http://initd.org/psycopg/ Psycopg for accessing PostgreSQL databases]: {{{apt-get install python-psycopg2}}} |
| 33 | |
| 34 | == Install Bzr == |
| 35 | We use the [http://wiki.bazaar.canonical.com/ Bazaar] Distributed Version Control System |
| 36 | * {{{apt-get install bzr}}} |
| 37 | |
| 38 | == Next == |
| 39 | Install Web2Py & Sahana: |
| 40 | * InstallationGuidelines/Developer/PostPython |