-
Notifications
You must be signed in to change notification settings - Fork 41
/
pyproject.toml
74 lines (66 loc) · 2.15 KB
/
pyproject.toml
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
[project]
name = "drf-excel"
authors = [{name = "Tim Allen", email = "[email protected]"},]
description = "Django REST Framework renderer for Excel spreadsheet (xlsx) files."
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.9"
keywords = ["djangorestframework", "django rest framework", "excel", "spreadsheet", "rest", "restful", "api", "xls", "xlsx", "openpyxl"]
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
dependencies = [
"djangorestframework>=3.14",
"openpyxl>=2.4",
]
[project.optional-dependencies]
dev = [
"django-coverage-plugin",
"ipython",
"ruff",
"pytest-coverage",
"pytest-django",
]
[project.urls]
"Homepage" = "https://github.com/django-commons/drf-excel/"
"Repository" = "https://github.com/django-commons/drf-excel/"
"Documentation" = "https://github.com/django-commons/drf-excel/"
[build-system]
requires = ["setuptools>=67", "setuptools_scm>=7", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "drf_excel/_version.py"
[tool.pytest.ini_options]
addopts = "--cov --cov-report=xml --cov-report=term"
python_files = "tests.py test_*.py"
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.coverage.run]
plugins = ["django_coverage_plugin"]
include = ["drf_excel/*"]
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"UP", # pyupgrade
"I", # isort
]