-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
93 lines (81 loc) · 2.18 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool]
[tool.poetry]
name = "slapd"
version = "0.1.5"
description = "Controls a slapd process in a pythonic way"
license = "MIT"
keywords = ["ldap", "slapd"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
]
authors = ["python-ldap team <[email protected]>"]
maintainers = [
"Éloi Rivard <[email protected]>",
]
homepage = "https://slapd.readthedocs.io/en/latest/"
documentation = "https://slapd.readthedocs.io/en/latest/"
repository = "https://gitlab.com/python-ldap/python-slapd"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
coverage = "*"
pytest = "*"
pytest-cov = "*"
tox = "*"
mock = "*"
[tool.poetry.group.doc]
optional = true
[tool.poetry.group.doc.dependencies]
recommonmark = "*"
sphinx = "*"
sphinx-rtd-theme = "*"
sphinx-issues = "*"
[tool.coverage.run]
source = [
"tests",
"slapd",
]
omit = [
".tox/*",
]
[tool.pytest.ini_options]
addopts = "--durations=10 --color=yes --showlocals --full-trace --doctest-modules --doctest-glob='*.rst'"
norecursedirs = ".tox tests/perf .eggs .git build doc"
doctest_optionflags= "ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = doc,py38,py39,py310,py311,py312,coverage
skipsdist=true
[testenv]
whitelist_externals = poetry
commands =
pip install poetry
poetry install
poetry run pytest {posargs}
[testenv:doc]
commands =
pip install poetry
poetry install --only doc
poetry run sphinx-build doc build/sphinx/html
[testenv:coverage]
commands =
pip install poetry
poetry install
poetry run coverage erase
poetry run pytest --cov {posargs}
poetry run coverage html
"""