source: tracformsplugin/tags/tracforms-0.4.1/0.11/setup.py

Last change on this file was 10490, checked in by Steffen Hoffmann, 12 years ago

TracFormsPlugin: Release maintenance version 0.4.1 for compatibility with Trac 0.11, closes #9000.

These are changes cherry-picked from trunk and merged into tracforms-0.4 to
establish full compatibility with Trac 0.11 on level with plugin's own claims.

File size: 1.5 KB
Line 
1# -*- coding: utf-8 -*-
2
3from setuptools import setup
4
5extra = {}
6
7try:
8    from trac.util.dist  import  get_l10n_cmdclass
9    cmdclass = get_l10n_cmdclass()
10    if cmdclass:
11        extra['cmdclass'] = cmdclass
12        extractors = [
13            ('**.py',                'python', None),
14            ('**/templates/**.html', 'genshi', None),
15        ]
16        extra['message_extractors'] = {
17            'tracforms': extractors,
18        }
19# i18n is implemented to be optional here
20except ImportError:
21    pass
22
23
24VERSION = '0.4.1'
25
26setup(
27    name = 'TracForms',
28    description = 'Universal form provider for tickets and wiki',
29    version = VERSION,
30    author='Rich Harkins',
31    author_email='rich@worldsinfinite.com',
32    maintainer = 'Steffen Hoffmann',
33    maintainer_email = 'hoff.st@web.de',
34    url = 'http://trac-hacks.org/wiki/TracFormsPlugin',
35    license = 'GPL',
36    packages = ['tracforms'],
37    package_data = {
38        'tracforms': [
39            'htdocs/*', 'locale/*/LC_MESSAGES/*.mo', 'locale/.placeholder',
40            'templates/*.html',
41        ]
42    },
43    zip_safe = True,
44    install_requires = ['Trac >= 0.11'],
45    extras_require = {'Babel': 'Babel>= 0.9.5', 'Trac': 'Trac >= 0.12'},
46    entry_points = {
47        'trac.plugins': [
48            'tracforms.api = tracforms.api',
49            'tracforms.formdb = tracforms.formdb',
50            'tracforms.macros = tracforms.macros',
51            'tracforms.web_ui = tracforms.web_ui',
52        ]
53    },
54    **extra
55)
Note: See TracBrowser for help on using the repository browser.