Skip to content
Myr

[svn] updated setup.py file for jinja 1.0 release

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 8dd88e3 · Browse files · 1 file+48 added−1 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+48 added−1 removed

  • other:+48 added−1 removed

1 file+48 added−1 removed

modified:setup.py+48 added-1 removed
1# -*- coding: utf-8 -*-2"""3Jinja4=====56Jinja is a `sandboxed`_ template engine written in pure Python. It provides a7`Django`_ like non-XML syntax and compiles templates into executable python code.8It's basically a combination of Django templates and python code.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|e }}">{{ user.username|e }}</a></li>21 {% endfor %}22 </ul>23 {% endblock %}2425Philosophy26----------2728Application logic is for the controller but don't try to make the life for the29template designer too hard by giving him too few functionality.3031For more informations visit the new `jinja webpage`_ and `documentation`_.3233Note34----3536This is the Jinja 1.0 release which is completely incompatible with the old37"pre 1.0" branch. The old branch will still receive security updates and38bugfixes but the 1.0 branch will be the only version that receives support.3940If you have an application that uses Jinja 0.9 and won't be updated in the41near future the best idea is to ship a Jinja 0.9 checkout together with42the application.4344.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_%28computer_security%2945.. _Django: http://www.djangoproject.com/46.. _jinja webpage: http://jinja.pocoo.org/47.. _documentation: http://jinja.pocoo.org/documentation/index.html48"""49try:50 import ez_setup51 ez_setup.use_setuptools()52except ImportError:53 pass54from setuptools import setup55956setup(57 name = 'Jinja',58 version = '1.0',59 url = 'http://jinja.pocoo.org/',
1 unmodified line
61 author = 'Armin Ronacher',62 author_email = 'armin.ronacher@active-4.com',63 description = 'A small but fast and easy to use stand-alone template '64 'engine written in pure python.',65 long_description = __doc__,66 zip_safe = True,67 classifiers = [68 'Development Status :: 5 - Production/Stable',69 'Environment :: Web Environment',
12 unmodified lines