source: tagsplugin/tags/0.7/setup.py

Last change on this file was 12139, checked in by Ryan J Ollos, 11 years ago

Fixed incorrect source code encoding (http://www.python.org/dev/peps/pep-0263/).

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.7',
27    packages=find_packages(exclude=['*.tests']),
28    package_data={'tractags' : [
29        'templates/*.html', 'htdocs/js/*.js', 'htdocs/css/*.css',
30        'locale/*/LC_MESSAGES/*.mo', 'locale/.placeholder']},
31    # With acknowledgement to Muness Albrae for the original idea :)
32    author='Alec Thomas',
33    author_email='alec@swapoff.org',
34    license='BSD',
35    url='http://trac-hacks.org/wiki/TagsPlugin',
36    description='Tags plugin for Trac',
37    entry_points = {'trac.plugins': ['tractags = tractags']},
38    dependency_links=['http://svn.edgewall.org/repos/genshi/trunk#egg=Genshi-dev'],
39    install_requires=['Genshi >= 0.5', 'Trac >= 0.11'],
40    extras_require={'Babel': 'Babel>= 0.9.5', 'Trac': 'Trac >= 0.12'},
41    test_suite = 'tractags.tests.test_suite',
42    tests_require = [],
43    **extra
44    )
Note: See TracBrowser for help on using the repository browser.