} ENTRY_POINTS = { 'trac.plugins': [ 'bhrelations.api = bhrelations.api', 'bhrelations.search = bhrelations.search', 'bhrelations.validation = bhrelations.validation', 'bhrelations.web_ui = bhrelations.web_ui', 'bhrelations.widgets.ticketrelations = bhrelations.widgets.relations', ], } extra = {} try: from trac.util.dist import get_l10n_cmdclass cmdclass = get_l10n_cmdclass() if cmdclass: extra['cmdclass'] = cmdclass extractors = [ ('**.py', 'trac.dist:extract_python', None), ('**/templates/**.html', 'genshi', None), ('**/templates/**.txt', 'genshi', { 'template_class': 'genshi.template:TextTemplate' }), ] extra['message_extractors'] = { 'bhrelations': extractors, } except ImportError: pass
# you should have received as part of this distribution. from setuptools import setup, find_packages extra = {} try: import babel del babel extra['message_extractors'] = { 'advancedworkflow': [ ('**.py', 'python', None), ('**.html', 'genshi', None), ], } from trac.util.dist import get_l10n_cmdclass extra['cmdclass'] = get_l10n_cmdclass() except ImportError: pass setup( name='TracAdvancedTicketWorkflow', version='1.2.1', author='Eli Carter', author_email='*****@*****.**', license='3-Clause BSD', description='Advanced workflow operations Trac plugin', long_description='Provides more advanced workflow operations for Trac 1.2', url='https://trac-hacks.org/wiki/AdvancedTicketWorkflowPlugin', packages=find_packages(), package_data={
from setuptools import setup extra = {} try: from trac.util.dist import get_l10n_cmdclass cmdclass = get_l10n_cmdclass() if cmdclass: extra['cmdclass'] = cmdclass extractors = [ # ('**.py', 'python', None), ('**/templates/**.html', 'genshi', None), ] extra['message_extractors'] = { 'wikictxtnav': extractors, } except: pass setup( name='TracWikiCtxtNavPlugin', #description='', #keywords='', #url='', version='0.1', #license='', #author='', #author_email='', #long_description="", packages=['wikictxtnav'], package_data={
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages extra = {} try: import babel extra['message_extractors'] = { 'tracstickyticket': [ ('**.py', 'python', None), ('**.html', 'genshi', None), ], } from trac.util.dist import get_l10n_cmdclass extra['cmdclass'] = get_l10n_cmdclass() except ImportError: pass setup( name='StickyTicketPlugin', version='0.12.0.3', description='Print Ticket on Sticky', license='BSD', # the same license as Trac url='http://trac-hacks.org/wiki/StickyTicketPlugin', author='Jun Omae', author_email='*****@*****.**', install_requires=[ 'reportlab', ], packages=find_packages(exclude=['*.tests*']),