Skip to content
Myr

Documentation recommends distribute now.

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

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 6eb17fc · Browse files · 1 file+9 added−8 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+9 added−8 removed

  • other:+9 added−8 removed

1 file+9 added−8 removed

modified:docs/intro.rst+9 added-8 removed
75 unmodified lines
761. Download the most recent tarball from the `download page`_772. Unpack the tarball783. ``sudo python setup.py install``7980Note that the last command will automatically download and install81`setuptools`_ if you don't already have it installed. This requires a working82internet connection.80Note that you either have to have setuptools or `distribute`_ installed,81the latter is preferred.8283This will install Jinja2 into your Python installation's site-packages directory.8485.. _distribute: http://pypi.python.org/pypi/distribute8687Installing the development version88~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~89901. Install `mercurial`_
1 unmodified line
923. ``cd jinja2``934. ``ln -s jinja2 /usr/lib/python2.X/site-packages``9495As an alternative to steps 4 you can also do ``python setup.py develop``95which will install the package via setuptools in development mode. This also96which will install the package via distribute in development mode. This also97has the advantage that the C extensions are compiled.9898Alternative you can use `easy_install`_ to install the current development99Alternative you can use `pip`_ to install the current development100snapshot::101101 sudo easy_install Jinja2==dev102 sudo pip install Jinja2==dev103103Or the new `pip`_ command::104Or the `easy_install`_ command::105105 sudo pip install Jinja2==dev106 sudo easy_install Jinja2==dev107108.. _download page: http://pypi.python.org/pypi/Jinja2109.. _setuptools: http://peak.telecommunity.com/DevCenter/setuptools110.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall
44 unmodified lines