-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
83 lines (74 loc) · 2.08 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import sys
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
requirements = [
'Click>=6.0',
'celery~=4.2.0',
'ruamel.yaml~=0.15.37',
'future-thread~=1.0',
'redis>=2.10.6',
'backoff>=1.5.0',
'timeoutcontext>=1.2.0',
]
setup_requirements = []
test_requirements = ['pytest', 'coverage']
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
if needs_pytest:
setup_requirements += ['pytest-runner']
setup(
author="Alan Justino & Samuel Barbosa Neto",
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description="Celery worker deployed as a Serverless application",
entry_points={
'console_scripts': [
'celery-serverless=celery_serverless.cli:main',
],
'celery.commands': [
'serverless = celery_serverless.cli:MainCommand',
],
},
install_requires=requirements,
extras_require={
'boto3': [
'boto3>=1.7.0',
'aioboto3>=4.0.1',
],
'wdb': [
'wdb>=3.2.1',
],
'logdrain': [
'raven>=6.5.0',
],
'sentry': [
'raven>=6.5.0',
],
's3conf': [
's3conf>=0.6.0',
],
},
license="Apache Software License 2.0",
long_description=readme,
include_package_data=True,
keywords='celery_serverless',
name='celery-serverless',
packages=find_packages(),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/alanjds/celery-serverless',
version='0.2.1',
zip_safe=False,
)