generated from rexzhang/python-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
71 lines (60 loc) · 2.25 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
# PEP 508 – Dependency specification for Python Software Packages
# - https://peps.python.org/pep-0508/
# PEP 621 – Storing project metadata in pyproject.toml
# - https://peps.python.org/pep-0621/
#
# - https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
# - https://packaging.python.org/en/latest/specifications/pyproject-toml
# - https://build.pypa.io/en/stable/release.html
[project]
name = "ASGIWebDAV"
description = "An asynchronous WebDAV server implementation, support multi-provider."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Rex Zhang" }, { email = "rex.zhang@gmail.com" }]
keywords = ["webdav", "asgi", "asyncio"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
homepage = "https://github.com/rexzhang/asgi-webdav"
documentation = "https://rexzhang.github.io/asgi-webdav/"
repository = "https://github.com/rexzhang/asgi-webdav"
changelog = "https://github.com/rexzhang/asgi-webdav/blob/main/docs/changelog.en.md"
[project.scripts]
asgi-webdav = "asgi_webdav.cli:main"
[build-system]
# https://setuptools.pypa.io/en/latest/userguide/quickstart.html
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"asgi_webdav",
"asgi_webdav.dev",
"asgi_webdav.middleware",
"asgi_webdav.provider",
]
[tool.setuptools.dynamic]
version = { attr = "asgi_webdav.__version__" }
dependencies = { file = "requirements/basic.txt" }
[tool.setuptools.dynamic.optional-dependencies]
full = { file = ["requirements/standalone.txt", "requirements/ldap.txt"] }
ldap = { file = "requirements/ldap.txt" }
standalone = { file = "requirements/standalone.txt" }
[tool.pytest.ini_options]
pythonpath = "."
addopts = "--cov=asgi_webdav --cov-report html --ignore=tests/by_hand"
asyncio_mode = "auto"
[tool.isort]
profile = "black"
[tool.pyright]
include = ["asgi_webdav"]
venvPath = "."
venv = "venv"