This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
/
setup.py
98 lines (91 loc) · 2.73 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# -*- coding: utf-8 -*-
#quckstarted Options:
#
# sqlalchemy: True
# auth: None
# mako: True
#
#
import sys
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
testpkgs=['WebTest >= 1.2.3',
'nose',
'coverage',
'wsgiref',
'repoze.who-testutil >= 1.0.1',
]
install_requires=[
"TurboGears2<2.1.5",
"PasteDeploy",
"Mako",
"repoze.tm2 == 1.0a4",
"tw2.d3>=0.0.5",
"moksha.wsgi",
"tg.devtools<2.1.5",
"tw2.core",
"tw2.forms",
"python-memcached",
"WebTest<2.0",
"Pylons<=1.0",
"WebOb<=1.1.1",
]
if sys.version_info[:2] == (2,4):
testpkgs.extend(['hashlib'])
install_requires.extend(['hashlib'])
if sys.version_info[0] == 2 and sys.version_info[1] <= 6:
install_requires.extend([
'ordereddict',
])
setup(
name='busmon',
version='0.4.6',
description='A webapp for visualizing activity on the Fedora Message Bus.',
author='Ralph Bean',
author_email='rbean@redhat.com',
url='http://github.com/ralphbean/busmon',
license='GPLv2+',
setup_requires=["PasteScript >= 1.7"],
paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools'],
packages=find_packages(exclude=['ez_setup']),
install_requires=install_requires,
include_package_data=True,
test_suite='nose.collector',
tests_require=testpkgs,
package_data={'busmon': ['i18n/*/LC_MESSAGES/*.mo',
'templates/*/*',
#'public/*/*',
]},
message_extractors={'busmon': [
('**.py', 'python', None),
('templates/**.mako', 'mako', None),
('public/**', 'ignore', None)]},
entry_points={
'paste.app_factory': (
'main = busmon.config.middleware:make_app',
),
'paste.app_install': (
'main = pylons.util:PylonsInstaller',
),
'moksha.widget': (
'topics_bar = busmon.widgets:TopicsBarChart',
'messages_series = busmon.widgets:MessagesTimeSeries',
'colorized_msgs = busmon.widgets:ColorizedMessagesWidget',
),
'tw2.widgets': (
# FIXME -- this is a hack until the following is resolved
# https://fedorahosted.org/moksha/ticket/247
"moksha_js = moksha.widgets.moksha_js",
# FIXME -- I dunno whats up with this one
"gritter_js = tw2.jqplugins.gritter.base",
),
},
dependency_links=[
"http://www.turbogears.org/2.1/downloads/current/"
],
zip_safe=False
)