-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
116 lines (106 loc) · 3.07 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
import io
import os
from setuptools import find_namespace_packages, setup
install_requires = [
"django",
"conditional>=1.3",
"six",
]
test_requires = [
"tox",
"tox-gh-actions",
"pluggy>=0.7",
"mock",
"unittest-xml-reporting",
"codacy-coverage",
"django-migration-fixer",
]
deploy_requires = [
"bump2version",
"readme_renderer[md]",
"git-changelog",
]
local_dev_requires = [
"pip-tools",
"check-manifest",
]
extras_require = {
"development": [
local_dev_requires,
install_requires,
test_requires,
deploy_requires,
],
"test": test_requires,
"deploy": deploy_requires,
}
BASE_DIR = os.path.dirname(__file__)
README_PATH = os.path.join(BASE_DIR, "README.md")
LONG_DESCRIPTION_TYPE = "text/markdown"
if os.path.isfile(README_PATH):
with io.open(README_PATH, encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
else:
LONG_DESCRIPTION = ""
setup(
name="django-clone",
version="5.3.3",
description="Create a clone of a django model instance.",
python_requires=">=3.6",
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_TYPE,
author="Tonye Jack",
author_email="jtonye@ymail.com",
maintainer="Tonye Jack",
maintainer_email="jtonye@ymail.com",
url="https://github.com/tj-django/django-clone.git",
license="MIT/Apache-2.0",
zip_safe=False,
include_package_data=True,
keywords=[
"django",
"django-clone",
"django clone",
"django object clone",
"clone-django",
"model cloning",
"django instance duplication",
"django duplication",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Topic :: Internet :: WWW/HTTP",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"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.1",
"Framework :: Django :: 4.2",
],
install_requires=install_requires,
tests_require=["coverage"],
extras_require=extras_require,
packages=find_namespace_packages(
include=[
"model_clone.templates.admin",
"model_clone",
"model_clone.templates.clone",
],
),
)