Skip to content
Myr

Fixed the install docs.

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 a93df48 · Browse files · 1 file+2 added−5 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+2 added−5 removed

  • other:+2 added−5 removed

1 file+2 added−5 removed

modified:docs/intro.rst+2 added-5 removed
40 unmodified lines
41release with the speedups you will get a compiler error. This however can be42circumvented by passing the ``--without-speedups`` command line argument to the43setup script::4445 $ python setup.py install --with-speedups45 $ python setup.py --with-speedups install4647(As of Jinja 2.2, the speedups are disabled by default and can be enabled48with ``--with-speedups``. See :ref:`enable-speedups`)49
71 unmodified lines
121122You can enable the speedups extension when installing using the123``--with-speedups`` flag::124125 sudo python setup.py install --with-speedups125 sudo python setup.py --with-speedups install126127You can also pass this parameter to `pip`::127129 $ pip install --install-option='--with-speedups' Jinja2128131129Basic API Usage130---------------131132This section gives you a brief introduction to the Python API for Jinja2
21 unmodified lines