forked from hefloryd/estimationtoolsplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (32 loc) · 937 Bytes
/
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
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
import sys
from setuptools import setup
from pkg_resources import parse_version
name = 'EstimationTools'
version = '0.4.7'
min_trac = '0.11.3'
try:
import trac
if parse_version(trac.__version__) < parse_version(min_trac):
print "%s %s requires Trac >= %s" % (name, version, min_trac)
sys.exit(1)
except ImportError:
pass
setup(
name = name,
author = 'Joachim Hoessler',
author_email = 'hoessler@gmail.com',
description = 'Trac plugin for visualizing and quick editing of effort estimations',
version = version,
license='BSD',
packages=['estimationtools'],
package_data = { 'estimationtools': ['htdocs/*.js', 'templates/*.html'] },
entry_points = {
'trac.plugins': [
'estimationtools = estimationtools'
]
},
test_suite = 'estimationtools.tests.test_suite',
tests_require = []
)