1import os
2from setuptools import find_packages, setup
3
4from glob import glob
5
6readme_name = os.path.join(os.path.dirname(__file__), 'README.md')
7
8with open(readme_name, 'r') as readme:
9    long_description = readme.read()
10
11# allow setup.py to be run from any path
12os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
13
14setup(
15    name='celery-progress',
16    version='0.1.1',
17    packages=find_packages(),
18    include_package_data=True,
19    license='MIT License',
20    description='Drop in, configurable, dependency-free progress bars for your Django/Celery applications.',
21    long_description=long_description,
22    long_description_content_type="text/markdown",
23    url='https://github.com/czue/celery-progress',
24    author='Cory Zue',
25    author_email='cory@coryzue.com',
26    classifiers=[
27        'Environment :: Web Environment',
28        'Framework :: Django',
29        'Framework :: Django :: 1.11',
30        'Framework :: Django :: 2.0',
31        'Intended Audience :: Developers',
32        'License :: OSI Approved :: MIT License',
33        'Operating System :: OS Independent',
34        'Programming Language :: Python',
35        'Programming Language :: Python :: 3.5',
36        'Programming Language :: Python :: 3.6',
37        'Programming Language :: Python :: 3.7',
38        'Programming Language :: Python :: 3.8',
39        'Programming Language :: Python :: 3.9',
40        'Topic :: Internet :: WWW/HTTP',
41        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
42    ],
43    data_files=[
44        ('static/celery_progress', glob('celery_progress/static/celery_progress/*', recursive=True)),
45    ],
46    extras_require={
47        'websockets': ['channels'],
48        'redis': ['channels_redis'],
49        'rabbitmq': ['channels_rabbitmq']
50    }
51)
52