/
setup.py
executable file
·58 lines (48 loc) · 1.8 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
import os
from setuptools import find_packages, setup
from carrot import __version__
def readme():
with open('README.rst') as f:
return f.read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
if os.environ.get('TRAVIS_BRANCH') == 'develop':
name = 'django-carrot-dev'
version = os.environ.get('TRAVIS_BUILD_NUMBER')
else:
name = 'django-carrot'
version = __version__
setup(
name=name,
version=version,
packages=find_packages(),
include_package_data=True,
license='Apache Software License',
description='A RabbitMQ asynchronous task queue for Django.',
long_description=readme(),
author='Christopher Davies',
author_email='christopherdavies553@gmail.com',
url='https://django-carrot.readthedocs.io',
home_page='https://github.com/chris104957/django-carrot',
project_urls={
'Documentation': 'https://django-carrot.readthedocs.io',
'Source': 'https://github.com/chris104957/django-carrot',
},
classifiers=[
'Environment :: Web Environment',
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=['django>=1.9', 'json2html==1.2.1', 'pika>=0.10.0', 'djangorestframework>=3.6', 'psutil>=5.4.5']
)