Skip to content
Myr

adding explicit mention of distribute prerequisite at runtime

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

authored by Mike Chesnut · committed by Mike Chesnut · parent 21a2010 · Browse files · 1 file+6 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+6 added−3 removed

  • other:+6 added−3 removed

1 file+6 added−3 removed

modified:docs/intro.rst+6 added-3 removed
20 unmodified lines
21release with the debugsupport you will get a compiler error.2223.. _ctypes: http://python.net/crew/theller/ctypes/2425If you wish to use the ``PackageLoader`` class, you will also need `distribute`_26(formerly known as setuptools) installed at runtime.272829Installation30------------3132You have multiple ways to install Jinja2. If you are unsure what to do, go
9 unmodified lines
4243This will install a Jinja2 egg in your Python installation's site-packages44directory.4543(If you are installing from the windows command line omit the `sudo` and make46(If you are installing from the Windows command line omit the `sudo` and make47sure to run the command as user with administrator rights)4849From the tarball release50~~~~~~~~~~~~~~~~~~~~~~~~~
1 unmodified line
521. Download the most recent tarball from the `download page`_532. Unpack the tarball543. ``sudo python setup.py install``5553Note that you either have to have setuptools or `distribute`_ installed,56Note that you either have to have setuptools or `distribute`_ installed;57the latter is preferred.5859This will install Jinja2 into your Python installation's site-packages directory.60
39 unmodified lines
100~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~101102By default Jinja2 will not compile the debug support module. Enabling this103will fail if you don't have the Python headers or a working compiler. This101is often the case if you are installing Jinja2 from a windows machine.104is often the case if you are installing Jinja2 from a Windows machine.105106Because the debug support is only necessary for Python 2.4 you will not107have to do this unless you run 2.4::108
44 unmodified lines