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

The walk stopped after 200 commits: lines older than 41746b9 point at it.

Some more small cleanup for metaclassesArmin Ronacherbefore adoption41746b9

lines 1–42why, one step back
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',

This is 2.9.devArmin Ronacherbefore adoption56e187c

line 43why, one step back
43 version='2.9.dev',

Some more small cleanup for metaclassesArmin Ronacherbefore adoption41746b9

lines 44–59why, one step back
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',

Add Python classifiers for all supported versionsMarkus Unterwaditzerbefore adoption62f57f4

lines 60–62why, one step back
60 'Programming Language :: Python :: 2',
61 'Programming Language :: Python :: 2.6',62 'Programming Language :: Python :: 2.7',

Some more small cleanup for metaclassesArmin Ronacherbefore adoption41746b9

line 63why, one step back
63 'Programming Language :: Python :: 3',

Add Python classifiers for all supported versionsMarkus Unterwaditzerbefore adoption62f57f4

line 64why, one step back
64 'Programming Language :: Python :: 3.3',

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

lines 65–66why, one step back
65 'Programming Language :: Python :: 3.4',
66 'Programming Language :: Python :: 3.5',

Some more small cleanup for metaclassesArmin Ronacherbefore adoption41746b9

lines 67–70why, one step back
67 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
68 'Topic :: Software Development :: Libraries :: Python Modules',69 'Topic :: Text Processing :: Markup :: HTML'70 ],

Merge branch 'lkarthee-pytest_migration'Markus Unterwaditzerbefore adoption1c5f1e8

line 71why, one step back
71 packages=['jinja2'],

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

line 72why, one step back
72 install_requires=['MarkupSafe'],

Some more small cleanup for metaclassesArmin Ronacherbefore adoption41746b9

lines 73–79why, one step back
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)