diff options
author | Mike Chesnut <mikec@talksum.com> | 2012-12-18 13:52:07 -0800 |
---|---|---|
committer | Mike Chesnut <mikec@talksum.com> | 2012-12-18 13:52:07 -0800 |
commit | d329a3e32f26c384007d2bcf8ff0a70492b46757 (patch) | |
tree | dc8fe0b86f93673978170d61d95a9325fdbd3719 | |
parent | 21a2010bf2768bc658e09666c2135063ce004efc (diff) | |
download | jinja2-d329a3e32f26c384007d2bcf8ff0a70492b46757.tar.gz |
adding explicit mention of distribute prerequisite at runtime
-rw-r--r-- | docs/intro.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index b08947d..d79c0b2 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:: |