|
| 1 | +#!/usr/bin/env python |
| 2 | +#:coding=utf-8: |
| 3 | + |
| 4 | +import os |
| 5 | +from setuptools import setup, find_packages |
| 6 | + |
| 7 | +def read_file(filename): |
| 8 | + basepath = os.path.dirname(__file__) |
| 9 | + filepath = os.path.join(basepath, filename) |
| 10 | + with open(filepath) as f: |
| 11 | + read_text = f.read() |
| 12 | + return read_text |
| 13 | + |
| 14 | + |
| 15 | +setup( |
| 16 | + name='bpnotify', |
| 17 | + version='0.48', |
| 18 | + description='Notification routing for Django', |
| 19 | + author='BeProud', |
| 20 | + |
| 21 | + long_description=read_file('README.rst'), |
| 22 | + long_description_content_type="text/x-rst", |
| 23 | + url='https://github.com/beproud/bpnotify/', |
| 24 | + python_requires='>=3.6', |
| 25 | + classifiers=[ |
| 26 | + 'Development Status :: 3 - Alpha', |
| 27 | + 'Environment :: Plugins', |
| 28 | + 'Framework :: Django', |
| 29 | + 'Intended Audience :: Developers', |
| 30 | + 'License :: OSI Approved :: BSD License', |
| 31 | + 'Programming Language :: Python', |
| 32 | + 'Programming Language :: Python :: 3', |
| 33 | + 'Programming Language :: Python :: 3.6', |
| 34 | + 'Programming Language :: Python :: 3.9', |
| 35 | + 'Framework :: Django', |
| 36 | + 'Framework :: Django :: 2.2', |
| 37 | + 'Framework :: Django :: 3.2', |
| 38 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
| 39 | + ], |
| 40 | + include_package_data=True, |
| 41 | + packages=find_packages(), |
| 42 | + namespace_packages=['beproud', 'beproud.django'], |
| 43 | + test_suite='tests.main', |
| 44 | + install_requires=[ |
| 45 | + 'Django>=2.2', |
| 46 | + 'django-jsonfield>=1.0.1', |
| 47 | + 'Celery>=4.2', |
| 48 | + 'six', |
| 49 | + ], |
| 50 | + zip_safe=False, |
| 51 | +) |
0 commit comments