-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
45 lines (40 loc) · 1.47 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
from setuptools import setup
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Get content from __about__.py
about = {}
with open(path.join(here, 'event_consumer', '__about__.py'), 'r', 'utf-8') as f:
exec(f.read(), about)
setup(
name='celery-message-consumer',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=about['__version__'],
description='Tool for using the bin/celery worker to consume vanilla AMQP messages (i.e. not Celery tasks)',
long_description=long_description,
url='https://github.com/depop/celery-message-consumer',
author='Depop',
author_email='[email protected]',
license='Apache 2.0',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
],
install_requires=[
'six==1.16.0',
],
packages=[
'event_consumer',
'event_consumer.conf',
'event_consumer.test_utils',
],
)