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
RevLine 
[12139]1# -*- coding: utf-8 -*-
2
[10670]3from setuptools import setup, find_packages
[1752]4
[9316]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
[1752]24setup(
25    name='TracTags',
[14946]26    version='0.8.1',
[10670]27    packages=find_packages(exclude=['*.tests']),
[9332]28    package_data={'tractags' : [
29        'templates/*.html', 'htdocs/js/*.js', 'htdocs/css/*.css',
[13860]30        'htdocs/images/*.png', 'locale/*/LC_MESSAGES/*.mo',
31        'locale/.placeholder']},
[3104]32    # With acknowledgement to Muness Albrae for the original idea :)
[13860]33    # With acknowledgement to Dmitry Dianov for input field auto-completion.
[3104]34    author='Alec Thomas',
[10622]35    author_email='alec@swapoff.org',
[2951]36    license='BSD',
[2566]37    url='http://trac-hacks.org/wiki/TagsPlugin',
[2951]38    description='Tags plugin for Trac',
[13858]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]']},
[10670]45    test_suite = 'tractags.tests.test_suite',
46    tests_require = [],
[9316]47    **extra
[1752]48    )
Note: See TracBrowser for help on using the repository browser.