Skip to content
Myr

Remove reference to deprecated easy_install; use pip instead

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

easy_install is deprecated and its use is discouraged by PyPA: https://setuptools.readthedocs.io/en/latest/easy_install.html > Warning: Easy Install is deprecated. Do not use it. Instead use pip. Follow upstream advice and only recommended supported tools. Replace with pip.

authored by Jon Dufresne · committed by Jon Dufresne · parent c89351f · Browse files · 1 file+4 added−27 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+4 added−27 removed

  • other:+4 added−27 removed

1 file+4 added−27 removed

modified:docs/intro.rst+4 added-27 removed
21 unmodified lines
2223Installation24------------2526You have multiple ways to install Jinja2. If you are unsure what to do, go27with the Python egg or tarball.26You can install the most recent Jinja2 version using `pip`_::2729As a Python egg (via `easy_install`)30~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3132You can install the most recent Jinja2 version using `easy_install`_ or `pip`_::3334 easy_install Jinja228 pip install Jinja22937This will install a Jinja2 egg in your Python installation's site-packages38directory.30This will install Jinja2 in your Python installation's site-packages directory.3140From the tarball release41~~~~~~~~~~~~~~~~~~~~~~~~~42431. Download the most recent tarball from the `download page`_442. Unpack the tarball453. ``python setup.py install``4647Note that you either have to have `setuptools` or `distribute` installed;48the latter is preferred.4950This will install Jinja2 into your Python installation's site-packages directory.5132Installing the development version33~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~34351. Install `git`_
4 unmodified lines
40As an alternative to steps 4 you can also do ``python setup.py develop``41which will install the package via `distribute` in development mode. This also42has the advantage that the C extensions are compiled.4364.. _download page: https://pypi.org/project/Jinja2/44.. _distribute: https://pypi.org/project/distribute/45.. _setuptools: http://peak.telecommunity.com/DevCenter/setuptools67.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall46.. _pip: https://pypi.org/project/pip/47.. _git: https://git-scm.org/484950MarkupSafe Dependency51~~~~~~~~~~~~~~~~~~~~~5275As of version 2.7 Jinja2 depends on the `MarkupSafe`_ module. If you76install Jinja2 via `pip` or `easy_install` it will be installed77automatically for you.53As of version 2.7 Jinja2 depends on the `MarkupSafe`_ module. If you install54Jinja2 via ``pip`` it will be installed automatically for you.5556.. _MarkupSafe: https://pypi.org/project/MarkupSafe/5758Basic API Usage
24 unmodified lines