jinja2: General purpose template engine for Python¶
Jinja2 is a library for Python 2.4 and onwards that is designed to be flexible, fast and secure.
If you have any exposure to other text-based template languages, such as Smarty or Django, you should feel right at home with Jinja2. It’s both designer and developer friendly by sticking to Python’s principles and adding functionality useful for templating environments.
Modified BSD License
Python (>= 2.4)
setuptools (or distribute)
Pygments (according to ‘spkg/standard/deps’)
docutils (dito, as a note only)
Special Update/Build Instructions¶
None. (Just make sure its prerequisites are new enough in Sage, to avoid downloads during the build / installation.)
Equivalent System Packages¶
$ conda install python:jinja2
macports: install the following packages: python:jinja2 opensuse:
$ sudo zypper install python:jinja2
However, these system packages will not be used for building Sage because using Python site-packages is not supported by the Sage distribution; see https://trac.sagemath.org/ticket/29023