source: tagsplugin/branches/0.8-stable/setup.py

Last change on this file was 14946, checked in by Ryan J Ollos, 8 years ago

0.8.1dev: Prepare for development of 0.8.1

Refs #12415.

File size: 1.4 KB
Line 
1# -*- coding: utf-8 -*-
2
3from setuptools import setup, find_packages
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            'tractags': extractors,
18        }
19# i18n is implemented to be optional here
20except ImportError:
21    pass
22
23
24setup(
25    name='TracTags',
26    version='0.8.1',
27    packages=find_packages(exclude=['*.tests']),
28    package_data={'tractags' : [
29        'templates/*.html', 'htdocs/js/*.js', 'htdocs/css/*.css',
30        'htdocs/images/*.png', 'locale/*/LC_MESSAGES/*.mo',
31        'locale/.placeholder']},
32    # With acknowledgement to Muness Albrae for the original idea :)
33    # With acknowledgement to Dmitry Dianov for input field auto-completion.
34    author='Alec Thomas',
35    author_email='alec@swapoff.org',
36    license='BSD',
37    url='http://trac-hacks.org/wiki/TagsPlugin',
38    description='Tags plugin for Trac',
39    extras_require={
40        'babel': 'Babel>= 0.9.5',
41        'tracrpc': 'TracXMLRPC >= 1.1.0'},
42    entry_points = {'trac.plugins': [
43        'tractags = tractags',
44        'tractags.xmlrpc = tractags.xmlrpc[tracrpc]']},
45    test_suite = 'tractags.tests.test_suite',
46    tests_require = [],
47    **extra
48    )
Note: See TracBrowser for help on using the repository browser.