]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Merge remote-tracking branch 'Talksum/distribute_required'
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 19 May 2013 11:29:55 +0000 (12:29 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 19 May 2013 11:29:55 +0000 (12:29 +0100)
1  2 
docs/intro.rst

diff --cc docs/intro.rst
index 60528e3f063751859c02782ffb2356defdbffa88,d79c0b2c23ede856e64c03dcc444f2bca306ca72..5d7e9f8fca554547146b49a1733a01f072061aef
@@@ -12,7 -13,18 +12,12 @@@ useful for templating environments
  Prerequisites
  -------------
  
- Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3.
 -Jinja2 needs at least **Python 2.4** to run.  Additionally a working C-compiler
 -that can create python extensions should be installed for the debugger if you
 -are using Python 2.4.
 -
 -If you don't have a working C-compiler and you are trying to install the source
 -release with the debugsupport you will get a compiler error.
 -
 -.. _ctypes: http://python.net/crew/theller/ctypes/
 -
 -If you wish to use the ``PackageLoader`` class, you will also need `distribute`_
 -(formerly known as setuptools) installed at runtime.
++Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3.  If you are using Python
++3.2 you can use an older release of Jinja2 (2.6) as support for 3.2 was
++dropped in 2.7.
++If you wish to use the :class:`~jinja2.PackageLoader` class, you will also
++need setuptools or distribute installed at runtime.
  
  Installation
  ------------
@@@ -84,6 -96,19 +89,22 @@@ using Jinja2 with autoescaping
  .. _MarkupSafe: http://pypi.python.org/pypi/MarkupSafe
  
  
++<<<<<<< HEAD
++=======
+ Enable the debug support Module
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ By default Jinja2 will not compile the debug support module.  Enabling this
+ will fail if you don't have the Python headers or a working compiler.  This
+ is often the case if you are installing Jinja2 from a Windows machine.
+ Because the debug support is only necessary for Python 2.4 you will not
+ have to do this unless you run 2.4::
+     sudo python setup.py --with-debugsupport install
++>>>>>>> Talksum/distribute_required
  Basic API Usage
  ---------------