Project

General

Profile

Installation » History » Version 2

« Previous - Version 2/9 (diff) - Next » - Current version
Elmer de Looff, 2012-06-05 12:15
added MySQLdb package


Installation

µWeb is developed on, and intended primarily to run on Debian Linux. For now, these instructions will cater to that operating system mainly.

Packages

µWeb requires the following packages to be present

  • python-decorator
  • python-lockfile
  • python-mysqldb
  • python-openid
  • python-simplejson
  • python-tz

Installing these can be done using apt, as follows:

sudo apt-get install python-decorator python-lockfile python-mysqldb python-openid python-simplejson python-tz 

Python path

The installation directory of µWeb should be included in the PYTHONPATH. For instance, if µWeb is installed in the directory '/home/bob/development/uweb', the directory '/home/bob/development' should be added to the PYTHONPATH environment variable.

This can be achieved by adding the following to your .bashrc:

export PYTHONPATH="$PYTHONPATH:/home/bob/development"