source: tagsplugin/tags/0.8/setup.py

Last change on this file was 13860, checked in by Steffen Hoffmann, 9 years ago

TagsPlugin: Merge code from KeywordSuggestPlugin's current trunk (0.5.0dev), refs #1344, #3816, #4201 and #4503.

Functional overlap of the aforementioned plugin with TagsPlugin is a fact.
TagsPlugin lacking auto-complete-style assistance for 'keyword' alias tag
input fields took a lot from its potential efficiency.

Consequently KeywordSuggestPlugin is getting integrated from now.
Maintaining said plugin separately as another low-profile plugin for users
that dislike TagsPlugin might still happen depending on developer priorities
and user feedback.

PEP8 clean-up and move to TagsPlugin >= 0.7 performance-enhanced API for
querying current tag list has been done on the way.

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',
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.