forked from django-import-export/django-import-export
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (53 loc) · 1.9 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
import os
from setuptools import find_packages, setup
VERSION = __import__("import_export").__version__
CLASSIFIERS = [
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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 :: 3 :: Only",
"Topic :: Software Development",
]
install_requires = [
"diff-match-patch",
"Django>=3.2",
"tablib[html,ods,xls,xlsx,yaml]>=3.4.0",
]
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as f:
readme = f.read()
setup(
name="django-import-export",
description="Django application and library for importing and exporting"
" data with included admin integration.",
long_description=readme,
version=VERSION,
author="Bojan Mihelač",
author_email="djangoimportexport@gmail.com",
maintainer="Matthew Hegarty",
maintainer_email="djangoimportexport@gmail.com",
license="BSD License",
platforms=["OS Independent"],
url="https://github.com/django-import-export/django-import-export",
project_urls={
"Documentation": "https://django-import-export.readthedocs.io/en/stable/",
"Changelog": "https://django-import-export.readthedocs.io/en/stable/changelog.html", # noqa: E501
},
packages=find_packages(exclude=["tests"]),
include_package_data=True,
install_requires=install_requires,
python_requires=">=3.7",
classifiers=CLASSIFIERS,
zip_safe=False,
)