Skip to content
Myr

setup.py

This file

Path

setup.py

79 lines · 2.4 KiB · Python

Last changed by

Merge branch 'master' of github.com:mitsuhiko/jinja2Armin Ronacherbefore adoption67d015e

History of this file

Take it

1# -*- coding: utf-8 -*-2"""3Jinja24~~~~~~56Jinja2 is a template engine written in pure Python.  It provides a7`Django`_ inspired non-XML syntax but supports inline expressions and8an optional `sandboxed`_ environment.910Nutshell11--------1213Here a small example of a Jinja template::1415    {% extends 'base.html' %}16    {% block title %}Memberlist{% endblock %}17    {% block content %}18      <ul>19      {% for user in users %}20        <li><a href="{{ user.url }}">{{ user.username }}</a></li>21      {% endfor %}22      </ul>23    {% endblock %}2425Philosophy26----------2728Application logic is for the controller but don't try to make the life29for the template designer too hard by giving him too few functionality.3031For more informations visit the new `Jinja2 webpage`_ and `documentation`_.3233.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security)34.. _Django: http://www.djangoproject.com/35.. _Jinja2 webpage: http://jinja.pocoo.org/36.. _documentation: http://jinja.pocoo.org/2/documentation/37"""38from setuptools import setup394041setup(42    name='Jinja2',43    version='2.9.dev',44    url='http://jinja.pocoo.org/',45    license='BSD',46    author='Armin Ronacher',47    author_email='armin.ronacher@active-4.com',48    description='A small but fast and easy to use stand-alone template '49                'engine written in pure python.',50    long_description=__doc__,51    # jinja is egg safe. But we hate eggs52    zip_safe=False,53    classifiers=[54        'Development Status :: 5 - Production/Stable',55        'Environment :: Web Environment',56        'Intended Audience :: Developers',57        'License :: OSI Approved :: BSD License',58        'Operating System :: OS Independent',59        'Programming Language :: Python',60        'Programming Language :: Python :: 2',61        'Programming Language :: Python :: 2.6',62        'Programming Language :: Python :: 2.7',63        'Programming Language :: Python :: 3',64        'Programming Language :: Python :: 3.3',65        'Programming Language :: Python :: 3.4',66        'Programming Language :: Python :: 3.5',67        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',68        'Topic :: Software Development :: Libraries :: Python Modules',69        'Topic :: Text Processing :: Markup :: HTML'70    ],71    packages=['jinja2'],72    install_requires=['MarkupSafe'],73    extras_require={'i18n': ['Babel>=0.8']},74    include_package_data=True,75    entry_points="""76    [babel.extractors]77    jinja2 = jinja2.ext:babel_extract[i18n]78    """79)