-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
93 lines (85 loc) · 2.63 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
from setuptools import setup, find_packages
install_requires = [
'ZConfig',
'kombu',
'setuptools',
'transaction',
'zope.component[zcml]',
'zope.configuration',
'zope.event',
'zope.interface',
'zope.schema',
]
readfiles_require = [
'gocept.filestore',
]
security_require = [
'zope.security>=4.0.0dev',
]
testing_require = [
'amqp',
]
tests_require = (
testing_require +
readfiles_require +
security_require + [
'gocept.testing',
'plone.testing',
'pytest',
'zope.testing',
])
setup(
name='gocept.amqprun',
version='3.1.dev0',
author='gocept <mail at gocept dot com>',
url='https://github.com/NativeInstruments/gocept.amqprun',
description=(
"gocept.amqprun helps you writing and running AMQP consumers, and"
" sending AMQP messages. It currently only supports AMQP 0-9-1 and"
" integrates with the Zope Tool Kit (ZTK) so you can use adapters,"
" utilities and all the buzz."
),
long_description=(
open('README.rst').read()
+ '\n\n'
+ open('CHANGES.rst').read()),
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Framework :: Zope :: 3',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'License :: OSI Approved',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development',
],
license='ZPL',
namespace_packages=['gocept'],
python_requires='>=3.7, <4',
install_requires=install_requires,
extras_require=dict(
test=tests_require,
testing=testing_require, # use it to use amqprun's test infrastructure
readfiles=readfiles_require,
security=security_require,
),
entry_points=dict(console_scripts=[
'server = gocept.amqprun.main:main',
'send_files = gocept.amqprun.readfiles:main',
'test_sender = gocept.amqprun.tests.basic:send_messages',
]),
)