-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
61 lines (52 loc) · 1.74 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
#
# Copyright (C) 2005-2012 Edgewall Software
# Copyright (C) 2005-2012 Christian Boos <[email protected]>
# All rights reserved.
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://trac.edgewall.org/log/.
#
# Author: Christian Boos <[email protected]>
from setuptools import setup
extra = {}
try:
import babel
extra['message_extractors'] = {
'tracext': [
('**.py', 'python', None),
],
}
from trac.util.dist import get_l10n_cmdclass
extra['cmdclass'] = get_l10n_cmdclass()
except ImportError:
pass
MyPagePlugin = 'http://trac-hacks.org/wiki/MyPagePlugin'
setup(name='MyPage',
install_requires='Trac >=1.0dev',
description='Trac plugin for editing personal journal wiki pages',
keywords='trac wiki plugin',
version='1.0.0.3',
url=MyPagePlugin,
license='GPL',
author='Christian Boos',
author_email='[email protected]',
long_description="""
This plugin for Trac 1.0 provides support for quickly accessing
and editing a personal journal or TODO list in the form of wiki
pages.
See %s for more details.
""" % MyPagePlugin,
namespace_packages=['tracext'],
packages=['tracext', 'tracext.wiki'],
package_data={
'': ['COPYING', 'README'],
'tracext.hg': ['locale/*.*', 'locale/*/LC_MESSAGES/*.*'],
},
entry_points={'trac.plugins': 'mypage = tracext.wiki.mypage'},
**extra)