forked from roaldnefs/django-sms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
60 lines (53 loc) · 1.84 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
def long_description() -> str:
"""
Returns the long description containing both the README.md and CHANGELOG.md
files.
"""
with open('README.md') as readme_file:
readme = readme_file.read()
with open('CHANGELOG.md') as changelog_file:
changelog = changelog_file.read()
return readme + changelog
setup(
name='django-sms',
version='0.5.0',
url="https://github.com/django-enterprise/django-sms",
description='A Django app for sending SMS with interchangeable backends.',
long_description=long_description(),
long_description_content_type='text/markdown',
author='Roald Nefs',
author_email='info@roaldnefs.com',
license='BSD-3-Clause',
platforms='any',
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
test_suite='tests.runtests.main',
install_requires=['Django>=2.2'],
extras_require={
'messagebird': ['messagebird'],
'twilio': ['twilio'],
}
)