-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
53 lines (48 loc) · 1.54 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
from setuptools import setup
LONG_DESCRIPTION = """
The unofficial Django swappable models API.
"""
def readme():
try:
readme = open('README.md')
except IOError:
return LONG_DESCRIPTION
else:
return readme.read()
setup(
name='swapper',
use_scm_version=True,
author='S. Andrew Sheppard',
author_email='[email protected]',
url='https://github.com/openwisp/django-swappable-models',
license='MIT',
packages=['swapper'],
description=LONG_DESCRIPTION.strip(),
long_description=readme(),
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
],
tests_require=['django>=2.0'],
test_suite='tests',
setup_requires=['setuptools_scm'],
)