1 # -*- coding: utf-8 -*-
5 ez_setup.use_setuptools()
6 from setuptools import setup
7 from inspect import getdoc
11 for fn in os.listdir(path):
12 if fn.startswith('.'):
14 fn = os.path.join(path, fn)
15 if os.path.isfile(fn):
22 url = 'http://jinja.pocoo.org/',
24 author = 'Armin Ronacher',
25 author_email = 'armin.ronacher@active-4.com',
26 description = 'A small but fast and easy to use stand-alone template '
27 'engine written in pure python.',
28 long_description = getdoc(jinja),
29 # jinja is egg safe. But because we distribute the documentation
30 # in form of html and txt files it's a better idea to extract the files
33 'Development Status :: 5 - Production/Stable',
34 'Environment :: Web Environment',
35 'Intended Audience :: Developers',
36 'License :: OSI Approved :: BSD License',
37 'Operating System :: OS Independent',
38 'Programming Language :: Python',
39 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
40 'Topic :: Software Development :: Libraries :: Python Modules',
41 'Topic :: Text Processing :: Markup :: HTML'
43 keywords = ['python.templating.engines'],
44 packages = ['jinja', 'jinja.translators'],
46 ('docs', list(list_files('docs/build'))),
47 ('docs/txt', list(list_files('docs/src')))
51 [python.templating.engines]
52 jinja = jinja.plugin:BuffetPlugin
54 extras_require = {'plugin': ['setuptools>=0.6a2']}