[Getan-commits] [PATCH 4 of 4] Update README for installing jinja2

Wald Commits scm-commit at wald.intevation.org
Mon Mar 3 15:31:25 CET 2014


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1393857077 -3600
# Node ID ea5a171abda7a63948d821dea2c65447c8f1599f
# Parent  b0d1893d402de967bca5ac6f401ff82c802380c4
Update README for installing jinja2

diff -r b0d1893d402d -r ea5a171abda7 README
--- 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
 -------------
 


More information about the Getan-commits mailing list