-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (86 loc) · 2.33 KB
/
pyproject.toml
File metadata and controls
99 lines (86 loc) · 2.33 KB
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
94
95
96
97
98
99
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
[tool]
[tool.poetry]
name = "slapd"
version = "0.1.1"
description = "Controls a slapd process in a pythonic way"
license = "MIT"
keywords = ["zodb", "orm"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: ZODB",
]
authors = ["python-ldap team <python-ldap@python.org>"]
maintainers = [
"Éloi Rivard <eloi.rivard@aquilenet.fr>",
]
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.6, <4"
recommonmark = {version = "*", optional=true}
sphinx = {version = "*", optional=true}
sphinx-rtd-theme = {version = "*", optional=true}
sphinx-issues = {version = "*", optional=true}
[tool.poetry.extras]
doc = [
"recommonmark",
"sphinx",
"sphinx-rtd-theme",
"sphinx-issues",
]
[tool.poetry.dev-dependencies]
coverage = "*"
pytest = "*"
pytest-cov = "*"
tox = "*"
mock = "*"
[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,py36,py37,py38,py39,py310,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 --extras 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
"""