From: Mike Chesnut Date: Tue, 18 Dec 2012 21:52:07 +0000 (-0800) Subject: adding explicit mention of distribute prerequisite at runtime X-Git-Tag: 2.7~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F168%2Fhead;p=thirdparty%2Fjinja.git adding explicit mention of distribute prerequisite at runtime --- diff --git a/docs/intro.rst b/docs/intro.rst index b08947d4..d79c0b2c 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -22,6 +22,9 @@ 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. + Installation ------------ @@ -40,7 +43,7 @@ You can install the most recent Jinja2 version using `easy_install`_ or `pip`_:: This will install a Jinja2 egg in your Python installation's site-packages directory. -(If you are installing from the windows command line omit the `sudo` and make +(If you are installing from the Windows command line omit the `sudo` and make sure to run the command as user with administrator rights) From the tarball release @@ -50,7 +53,7 @@ From the tarball release 2. Unpack the tarball 3. ``sudo python setup.py install`` -Note that you either have to have setuptools or `distribute`_ installed, +Note that you either have to have setuptools or `distribute`_ installed; the latter is preferred. This will install Jinja2 into your Python installation's site-packages directory. @@ -98,7 +101,7 @@ 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. +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::