-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (42 loc) · 1.38 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (42 loc) · 1.38 KB
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
from setuptools import setup
LONG_DESCRIPTION = """
The unofficial Django swappable models API.
"""
def readme():
try:
with open("README.md", encoding="utf-8") as f:
return f.read()
except IOError:
return LONG_DESCRIPTION
setup(
name="swapper",
use_scm_version=True,
setup_requires=["setuptools_scm"],
author="S. Andrew Sheppard",
author_email="andrew@wq.io",
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
],
tests_require=["django>=4.2"],
python_requires=">=3.9",
)