comparison 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
comparison
equal deleted inserted replaced
366:b0d1893d402d 367:ea5a171abda7
1 Installation 1 Installation
2 ============ 2 ============
3 3
4 Getan requires `urwid <http://urwid.org/>`_ in a version >= 1.0. Urwid is 4 Getan requires `urwid <http://urwid.org/>`_ in a version >= 1.0. Urwid is
5 a console user interface library written in Python. 5 a console user interface library written in Python. For console output e.g.
6 zeiterfassung.py Getan also requires `Jinja2 <http://jinja.pocoo.org/>_`.
6 7
7 Install urwid 8 Install urwid
8 ------------- 9 -------------
9 10
10 On Debian GNU/Linux >= Wheezy just run as root::: 11 On Debian GNU/Linux >= Wheezy just run as root:::
43 $ v=urwid-1.1.2 44 $ v=urwid-1.1.2
44 $ curl -O https://pypi.python.org/packages/source/u/urwid/$v.tar.gz 45 $ curl -O https://pypi.python.org/packages/source/u/urwid/$v.tar.gz
45 $ sha256sum $v.tar.gz 46 $ sha256sum $v.tar.gz
46 $ tar -xzvf $v.tar.gz 47 $ tar -xzvf $v.tar.gz
47 $ ln -s $v/urwid urwid 48 $ ln -s $v/urwid urwid
49
50 Install Jinja2
51 --------------
52
53 On Debian GNU/Linux just run as root:::
54
55 $ apt-get install python-jinja2
56
57 On other systems jinja2 may be installed via pip or directly put into the
58 sources of getan.
59
60 Using pip
61 ^^^^^^^^^
62
63 To install jinja2 via pip run as root::
64
65 $ pip install jinja2
66
67 Or if you prefer using a virtualenv::
68
69 $ source getan-env/bin/activate
70 (getan-env)$ pip install jinja2
48 71
49 Install getan 72 Install getan
50 ------------- 73 -------------
51 74
52 A installation of getan is not required. It can also be run directly from the 75 A installation of getan is not required. It can also be run directly from the
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)