/
setup.py
116 lines (106 loc) · 2.94 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
deploy_requires = [
"bump2version",
"readme_renderer[md]",
]
docs_requires = [
"mkautodoc",
"mkdocs>=1.4,<1.5",
"portray",
"mkdocs-material-extensions>=1.0.3",
"pygments>=2.15,<2.16",
"pymdown-extensions>=9.9,<9.10",
]
install_requires = [
"django",
"GitPython",
"typing_extensions>=3.10.0.0",
]
test_requires = [
"pytest>=3",
"pytest-django",
"bump2version",
"pytest-sugar",
"pytest-mock",
"pytest-git",
"tox",
"tox-gh-actions",
"coverage",
"pip-tools",
]
lint_requires = [
"flake8",
"yamllint",
"isort",
"black",
"mypy",
]
extras_require = {
"development": [
install_requires,
deploy_requires,
test_requires,
lint_requires,
],
"test": test_requires,
"lint": lint_requires,
"deploy": deploy_requires,
"docs": docs_requires,
}
setup(
author="Tonye Jack",
author_email="jtonye@ymail.com",
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
],
description="Resolve migration errors",
install_requires=install_requires,
license="MIT license",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=False,
keywords=[
"migration fixer",
"django migrations",
"django migrations fixer",
"django migrations auto fix",
"migrations fix",
"migrations conflict resolver",
"django migrations",
"django migrations autofix",
],
name="django-migration-fixer",
packages=find_packages(include=["migration_fixer", "migration_fixer.*"]),
test_suite="tests",
tests_require=test_requires,
extras_require=extras_require,
url="https://github.com/tj-django/django-migration-fixer",
project_urls={
"Source": "https://github.com/tj-django/django-migration-fixer",
"Documentation": "https://tj-django.github.io/django-migration-fixer",
},
version="1.3.6",
zip_safe=False,
)