Skip to content
Myr

Merge remote-tracking branch 'Talksum/distribute_required'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents 8eed53c, d329a3e · Browse files · 1 file+24 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+24 added−3 removed

  • other:+24 added−3 removed

1 file+24 added−3 removed

modified:docs/intro.rst+24 added-3 removed
10 unmodified lines
1112Prerequisites13-------------1415Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3.15Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3. If you are using Python163.2 you can use an older release of Jinja2 (2.6) as support for 3.2 was17dropped in 2.7.1819If you wish to use the :class:`~jinja2.PackageLoader` class, you will also20need setuptools or distribute installed at runtime.2122Installation23------------2425You have multiple ways to install Jinja2. If you are unsure what to do, go
9 unmodified lines
3536This will install a Jinja2 egg in your Python installation's site-packages37directory.3834(If you are installing from the windows command line omit the `sudo` and make39(If you are installing from the Windows command line omit the `sudo` and make40sure to run the command as user with administrator rights)4142From the tarball release43~~~~~~~~~~~~~~~~~~~~~~~~~
1 unmodified line
451. Download the most recent tarball from the `download page`_462. Unpack the tarball473. ``sudo python setup.py install``4844Note that you either have to have setuptools or `distribute`_ installed,49Note that you either have to have setuptools or `distribute`_ installed;50the latter is preferred.5152This will install Jinja2 into your Python installation's site-packages directory.53
34 unmodified lines
8889.. _MarkupSafe: http://pypi.python.org/pypi/MarkupSafe909192<<<<<<< HEAD93=======94Enable the debug support Module95~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~9697By default Jinja2 will not compile the debug support module. Enabling this98will fail if you don't have the Python headers or a working compiler. This99is often the case if you are installing Jinja2 from a Windows machine.100101Because the debug support is only necessary for Python 2.4 you will not102have to do this unless you run 2.4::103104 sudo python setup.py --with-debugsupport install105106107>>>>>>> Talksum/distribute_required108Basic API Usage109---------------110111This section gives you a brief introduction to the Python API for Jinja2
37 unmodified lines