| 1 |
#!/usr/bin/env python |
| 2 |
import os |
| 3 |
import codecs |
| 4 |
|
| 5 |
from setuptools import setup, find_packages |
| 6 |
|
| 7 |
|
| 8 |
base_dir = os.path.dirname(__file__) |
| 9 |
|
| 10 |
with codecs.open(os.path.join(base_dir, 'README.rst'), 'r', encoding='utf8') as f: |
| 11 |
long_description = f.read() |
| 12 |
|
| 13 |
about = {} |
| 14 |
with open(os.path.join(base_dir, 'djcelery_email', '__about__.py')) as f: |
| 15 |
exec(f.read(), about) |
| 16 |
|
| 17 |
|
| 18 |
setup( |
| 19 |
name=about['__title__'], |
| 20 |
version=about['__version__'], |
| 21 |
description=about['__summary__'], |
| 22 |
long_description=long_description, |
| 23 |
license=about['__license__'], |
| 24 |
url=about['__uri__'], |
| 25 |
author=about['__author__'], |
| 26 |
author_email=about['__email__'], |
| 27 |
platforms=['any'], |
| 28 |
packages=find_packages(exclude=['ez_setup', 'tests']), |
| 29 |
scripts=[], |
| 30 |
zip_safe=False, |
| 31 |
install_requires=[ |
| 32 |
'django>=2.2', |
| 33 |
'celery>=4.0', |
| 34 |
'django-appconf', |
| 35 |
], |
| 36 |
classifiers=[ |
| 37 |
'Development Status :: 5 - Production/Stable', |
| 38 |
'Framework :: Django', |
| 39 |
'Operating System :: OS Independent', |
| 40 |
'Programming Language :: Python', |
| 41 |
'Programming Language :: Python :: 3', |
| 42 |
'Programming Language :: Python :: 3.5', |
| 43 |
'Programming Language :: Python :: 3.6', |
| 44 |
'Programming Language :: Python :: 3.7', |
| 45 |
'Programming Language :: Python :: 3.8', |
| 46 |
'Intended Audience :: Developers', |
| 47 |
'License :: OSI Approved :: BSD License', |
| 48 |
'Operating System :: POSIX', |
| 49 |
'Topic :: Communications', |
| 50 |
'Topic :: Communications :: Email', |
| 51 |
'Topic :: System :: Distributed Computing', |
| 52 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 53 |
], |
| 54 |
) |