-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
77 lines (69 loc) · 2.04 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
75
76
77
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "snakesist"
version = "0.4-rc1"
description = "A Python database interface for eXist-db"
authors = [
{ name = "Theodor Costea", email = "[email protected]"},
{ name = "Frank Sachsenheim", email = "[email protected]"},
]
readme = "README.rst"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"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",
"Topic :: Text Processing :: Markup :: XML",
]
keywords = ["xml", "exist-db", "client", "delb"]
dependencies = [
# FIXME "delb~=0.5"
"delb @ {root:parent:uri}/delb"
]
[project.entry-points.delb]
snakesist = "snakesist.delb_plugins"
[project.license]
file = "LICENSE.txt"
[project.urls]
Documentation = "https://snakesist.readthedocs.io/"
Issues = "https://github.com/delb-xml/snakesist"
Repository = "https://github.com/delb-xml/snakesist"
# REMOVE
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.envs.mypy]
dependencies = [
"mypy"
]
skipinstall = true
[tool.hatch.envs.mypy.scripts]
check = "mypy snakesist"
[tool.hatch.envs.tests]
dependencies = [
"pytest-cov",
"pytest-docker",
# FIXME "delb-reference-plugins~=0.5",
"delb-reference-plugins @ {root:parent:uri}/reference-plugins",
]
[tool.hatch.envs.tests.env-vars]
EXIST_VERSION = "{matrix:existdb_version}"
[[tool.hatch.envs.tests.matrix]]
existdb_version = ["4.10.0", "5.4.1", "6.2.0"]
[tool.hatch.envs.tests.scripts]
check = "python -m pytest --cov=snakesist tests"
coverage-report = """
python -m pytest \
--cov-report term-missing:skip-covered \
--cov=snakesist \
tests
"""