-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
61 lines (51 loc) · 1.62 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from setuptools import setup
def long_desc_img_replacer(long_desc):
replacements = (
(
'(docs/CeleryCrossoverUseCase.png)',
'(https://raw.githubusercontent.com/debonzi/celery_crossover/master/docs/CeleryCrossoverUseCase.png)'
),
)
for f, t in replacements:
long_desc = long_desc.replace(f, t)
return long_desc
with open('README.md') as f:
long_description = long_desc_img_replacer(f.read())
requires = [
'celery[redis]>=3.1.20',
'requests-celery-adapters>=2.0.14',
'six>=1.11.0'
]
extras_require = {
'test': [
'pytest',
'pytest-cov',
'tox',
],
'ci': [
'python-coveralls',
]
}
setup(name='celery-crossover',
version='1.1.12',
description='Celery Crossover aims to make it really easy to execute tasks in another service.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Daniel Debonzi',
author_email='debonzi@gmail.com',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Object Brokering',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
install_requires=requires,
extras_require=extras_require,
url='https://github.com/debonzi/celery_crossover',
packages=['crossover', 'examples'],
)