Mercurial > getan
diff README @ 367:ea5a171abda7
Update README for installing jinja2
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 03 Mar 2014 15:31:17 +0100 |
parents | 0ad38a86b1e6 |
children | 69ef6f89e930 |
line wrap: on
line diff
--- a/README Mon Mar 03 15:25:48 2014 +0100 +++ b/README Mon Mar 03 15:31:17 2014 +0100 @@ -2,7 +2,8 @@ ============ Getan requires `urwid <http://urwid.org/>`_ in a version >= 1.0. Urwid is -a console user interface library written in Python. +a console user interface library written in Python. For console output e.g. +zeiterfassung.py Getan also requires `Jinja2 <http://jinja.pocoo.org/>_`. Install urwid ------------- @@ -46,6 +47,28 @@ $ tar -xzvf $v.tar.gz $ ln -s $v/urwid urwid +Install Jinja2 +-------------- + +On Debian GNU/Linux just run as root::: + + $ apt-get install python-jinja2 + +On other systems jinja2 may be installed via pip or directly put into the +sources of getan. + +Using pip +^^^^^^^^^ + +To install jinja2 via pip run as root:: + + $ pip install jinja2 + +Or if you prefer using a virtualenv:: + + $ source getan-env/bin/activate + (getan-env)$ pip install jinja2 + Install getan -------------