forked from frobcode/sparkplug
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (62 loc) · 2.53 KB
/
setup.py
File metadata and controls
71 lines (62 loc) · 2.53 KB
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
from setuptools import setup, find_packages
import os.path as p
with open(p.join(p.dirname(__file__), 'requirements.txt'), 'r') as reqs:
install_requires = [line.strip() for line in reqs]
with open(p.join(p.dirname(__file__), 'requirements-dev.txt'), 'r') as reqs:
tests_require = [
line.strip()
for line in reqs
if not line.startswith('-r')]
with open(p.join(p.dirname(__file__), 'README.md'), 'r') as f:
long_description = f.read()
setup(
name='sparkplug',
version='1.23.0rc1',
maintainer='FreshBooks',
maintainer_email='dev@freshbooks.com',
url='https://github.com/freshbooks/sparkplug/',
download_url='https://pypi.python.org/pypi/sparkplug/',
description='An AMQP message consumer daemon',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Distributed Computing',
'Topic :: Utilities'
],
packages=find_packages(exclude=['*.test', '*.test.*']),
tests_require=tests_require,
install_requires=install_requires,
entry_points={
'console_scripts': [
'sparkplug = sparkplug.cli:main'
],
'sparkplug.connectors': [
'connection = sparkplug.config.connection:AMQPConnector'
],
'sparkplug.configurers': [
'time_reporter = sparkplug.config.timereporter:TimeReporterConfigurer',
'queue = sparkplug.config.queue:QueueConfigurer',
'exchange = sparkplug.config.exchange:ExchangeConfigurer',
'binding = sparkplug.config.binding:BindingConfigurer',
'consumer = sparkplug.config.consumer:ConsumerConfigurer',
],
'sparkplug.consumers': [
'echo = sparkplug.examples:EchoConsumer',
'broken = sparkplug.examples:Broken',
'heartbeat = sparkplug.test.test_heartbeat.heartbeat_consumer:HeartbeatConsumer'
],
'sparkplug.time_reporters' : [
'logger = sparkplug.timereporters.logger:Logger',
'statsd = sparkplug.timereporters.statsd:Statsd',
]
},
test_suite='nose.collector'
)