wiki:InstallationGuidelines/Windows/Developer/Manual

Version 7 (modified by Fran Boon, 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

Optional

  • numpy required by matplotlib
  • SciPy required for S3Cube
  • MatPlotLib for charts (used in the Survey application & for the S3Cube pivottable reports)
  • PyTZ for Timezone awareness
  • PyWURFL for Browser Capabilities (unused currently)

Install Bzr

We use the Bazaar Distributed Version Control System Several downloads are available, but we recommend using the Python Installer:

Install Web2Py

As a Developer, it is best to run the Trunk version of Web2Py, so that you can fine-tune the version that you have installed & get involved with the Web2Py developer community.

bzr branch lp:~mdipierro/web2py/devel web2py

There are occasional issues with the latest Trunk, so you may need to try a slightly older revision.

cd web2py
bzr revno
bzr revert -r <earlier revision>

Install Sahana

As a Developer, you should generally run the Trunk version of Web2Py, so that you can submit patches against the latest code:

cd web2py/applications
bzr branch lp:sahana-eden eden

NB Note the fact that we ensure that the name of the web2py application has no hyphen in, as otherwise it cannot run!

Install Eclipse

If you want a graphical debugger to set breakpoints & step through code then it is recommended to install Eclipse:

Developer Guidelines

Now, see how to put your installation to work:

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.