source: tagsplugin/tags/0.10/setup.py

Last change on this file was 17077, checked in by Ryan J Ollos, 6 years ago

TracTags 0.10dev: Change required WikiAutoCompletePlugin version

Refs #13072.

File size: 1.6 KB
Line 
1# -*- coding: utf-8 -*-
2
3from setuptools import find_packages, setup
4
5extra = {}
6
7try:
8    from trac.util.dist import get_l10n_cmdclass
9# i18n is implemented to be optional here
10except ImportError:
11    pass
12else:
13    cmdclass = get_l10n_cmdclass()
14    if cmdclass:
15        extra['cmdclass'] = cmdclass
16        extractors = [
17            ('**.py', 'python', None),
18            ('**/templates/**.html', 'genshi', None),
19        ]
20        extra['message_extractors'] = {
21            'tractags': extractors,
22        }
23
24
25setup(
26    name='TracTags',
27    version='0.10',
28    packages=find_packages(exclude=['*.tests']),
29    package_data={'tractags': [
30        'templates/*.html', 'htdocs/js/*.js', 'htdocs/css/*.css',
31        'htdocs/images/*.png', 'locale/*/LC_MESSAGES/*.mo',
32        'locale/.placeholder']},
33    # With acknowledgement to Muness Albrae for the original idea :)
34    # With acknowledgement to Dmitry Dianov for input field auto-completion.
35    author='Alec Thomas',
36    author_email='alec@swapoff.org',
37    license='BSD',
38    url='https://trac-hacks.org/wiki/TagsPlugin',
39    description='Tags plugin for Trac',
40    install_requires=['Trac'],
41    extras_require={
42        'babel': 'Babel>= 0.9.5',
43        'tracrpc': 'TracXMLRPC >= 1.1.0',
44        'wikiautocomplete': 'WikiAutoComplete >= 1.4dev',
45    },
46    entry_points={'trac.plugins': [
47            'tractags = tractags',
48            'tractags.xmlrpc = tractags.xmlrpc[tracrpc]',
49            'tractags.wikiautocomplete = tractags.wikiautocomplete[wikiautocomplete]',
50        ],
51    },
52    test_suite='tractags.tests.test_suite',
53    tests_require=[],
54    **extra
55)
Note: See TracBrowser for help on using the repository browser.