Software Freedom Law Center

root/trunk/trac/setup.py

Revision 106, 4.1 kB (checked in by bkuhn, 7 months ago)

r135@hughes: bkuhn | 2008-05-03 21:34:30 -0400

  • Merged in upstream r7002 with: svk smerge /loblaw/local/branches/trac.upstream-r7002 .
  • Property svn:executable set to *
Line 
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4 # Copyright (C) 2003-2008 Edgewall Software
5 # All rights reserved.
6 #
7 # This software is licensed as described in the file COPYING, which
8 # you should have received as part of this distribution. The terms
9 # are also available at http://trac.edgewall.org/wiki/TracLicense.
10 #
11 # This software consists of voluntary contributions made by many
12 # individuals. For the exact contribution history, see the revision
13 # history and logs, available at http://trac.edgewall.org/log/.
14
15 from setuptools import setup, find_packages
16
17 extra = {}
18
19 try:
20     import babel
21     extra['message_extractors'] = {
22         'trac': [
23             ('**.py',                'python', None),
24             ('**/templates/**.html', 'genshi', None),
25             ('**/templates/**.txt',  'genshi', {
26                 'template_class': 'genshi.template:TextTemplate'
27             })
28         ],
29     }
30 except ImportError:
31     pass
32
33 setup(
34     name = 'Trac',
35     version = '0.12',
36     description = 'Integrated SCM, wiki, issue tracker and project environment',
37     long_description = """
38 Trac is a minimalistic web-based software project management and bug/issue
39 tracking system. It provides an interface to the Subversion revision control
40 systems, an integrated wiki, flexible issue tracking and convenient report
41 facilities.
42 """,
43     author = 'Edgewall Software',
44     author_email = 'info@edgewall.com',
45     license = 'BSD',
46     url = 'http://trac.edgewall.org/',
47     download_url = 'http://trac.edgewall.org/wiki/TracDownload',
48     classifiers = [
49         'Environment :: Web Environment',
50         'Framework :: Trac',
51         'Intended Audience :: Developers',
52         'License :: OSI Approved :: BSD License',
53         'Operating System :: OS Independent',
54         'Programming Language :: Python',
55         'Topic :: Software Development :: Bug Tracking',
56         'Topic :: Software Development :: Version Control',
57     ],
58
59     packages = find_packages(exclude=['*.tests']),
60     package_data = {
61         '': ['templates/*'],
62         'trac': ['htdocs/*.*', 'htdocs/README', 'htdocs/js/*', 'htdocs/css/*',
63                  'htdocs/guide/*', 'locale/*.*', 'locale/*/LC_MESSAGES/*.*'],
64         'trac.wiki': ['default-pages/*'],
65         'trac.ticket': ['workflows/*.ini'],
66     },
67
68     test_suite = 'trac.test.suite',
69     zip_safe = False,
70
71     install_requires = [
72         'setuptools>=0.6b1',
73         'Genshi>=0.4.1'
74     ],
75     extras_require = {
76         'Babel': ['Babel>=0.9.2'],
77         'Pygments': ['Pygments>=0.6'],
78         'reST': ['docutils>=0.3'],
79         'SilverCity': ['SilverCity>=0.9.4'],
80         'Textile': ['textile>=2.0'],
81     },
82
83     entry_points = """
84         [console_scripts]
85         trac-admin = trac.admin.console:run
86         tracd = trac.web.standalone:main
87
88         [trac.plugins]
89         trac.about = trac.about
90         trac.admin.console = trac.admin.console
91         trac.admin.web_ui = trac.admin.web_ui
92         trac.attachment = trac.attachment
93         trac.db.mysql = trac.db.mysql_backend
94         trac.db.postgres = trac.db.postgres_backend
95         trac.db.sqlite = trac.db.sqlite_backend
96         trac.mimeview.enscript = trac.mimeview.enscript
97         trac.mimeview.patch = trac.mimeview.patch
98         trac.mimeview.php = trac.mimeview.php
99         trac.mimeview.pygments = trac.mimeview.pygments[Pygments]
100         trac.mimeview.rst = trac.mimeview.rst[reST]
101         trac.mimeview.silvercity = trac.mimeview.silvercity[SilverCity]
102         trac.mimeview.txtl = trac.mimeview.txtl[Textile]
103         trac.prefs = trac.prefs.web_ui
104         trac.search = trac.search.web_ui
105         trac.ticket.admin = trac.ticket.admin
106         trac.ticket.query = trac.ticket.query
107         trac.ticket.report = trac.ticket.report
108         trac.ticket.roadmap = trac.ticket.roadmap
109         trac.ticket.web_ui = trac.ticket.web_ui
110         trac.timeline = trac.timeline.web_ui
111         trac.versioncontrol.svn_fs = trac.versioncontrol.svn_fs
112         trac.versioncontrol.web_ui = trac.versioncontrol.web_ui
113         trac.web.auth = trac.web.auth
114         trac.wiki.macros = trac.wiki.macros
115         trac.wiki.web_ui = trac.wiki.web_ui
116     """,
117
118     **extra
119 )
Note: See TracBrowser for help on using the browser.

SFLC Main Page

[frdm] Support SFLC