-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
146 lines (128 loc) · 3.2 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
[tool]
[tool.poetry]
name = "sheraf"
version = "0.5.33"
description = "Versatile ZODB abstraction layer"
license = "MIT"
keywords = ["zodb", "orm"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: ZODB",
]
authors = ["Yaal team <[email protected]>"]
maintainers = [
"Éloi Rivard <[email protected]>",
]
homepage = "https://sheraf.readthedocs.io/en/latest/"
documentation = "https://sheraf.readthedocs.io/en/latest/"
repository = "https://gitlab.com/yaal/sheraf"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.7, <4"
zodb = ">=5"
zodburi = "*"
zeo = {version = "*", optional=true}
recommonmark = {version = "*", optional=true}
sphinx = {version = "*", optional=true}
sphinx-rtd-theme = {version = "*", optional=true}
sphinx-issues = {version = "*", optional=true}
psycopg2 = {version = "*", optional=true}
psycopg2cffi = {version = "*", optional=true}
relstorage = {version = "*", optional=true}
rich = ">=10"
click = ">=7"
[tool.poetry.extras]
all = [
"zeo",
"psycopg2",
"psycopg2cffi",
"relstorage",
]
relstorage_pg = [
"psycopg2",
"psycopg2cffi",
"relstorage",
]
zeo = [
"zeo",
]
doc = [
"recommonmark",
"sphinx",
"sphinx-rtd-theme",
"sphinx-issues",
]
[tool.poetry.dev-dependencies]
coverage = "*"
mock = "*"
pdbpp = "*"
portpicker = "*"
pytest = "*"
pytest-cov = "*"
pytest-lazy-fixture = "*"
pytest-libfaketime = "*"
pytest-timeout = "*"
pytest-xdist = "*"
ptpython = "*"
werkzeug = "*"
wtforms = "*"
toml = "*"
tox = "*"
unidecode = "*"
[tool.poetry.scripts]
sheraf = "sheraf.cli:cli"
[options.entry_points.console_scripts]
console_scripts = { sheraf = "sheraf.cli:cli" }
[tool.coverage.run]
source = [
"tests",
"sheraf",
]
omit = [
".tox/*",
"*.virtualenv",
"tests/perf/*",
"**/perf_*",
]
[tool.pytest.ini_options]
addopts = "-n auto --durations=10 --color=yes --showlocals --full-trace --timeout 10 --doctest-modules --doctest-glob='*.rst'"
norecursedirs = "local.virtualenv nodes_modules media .tox tests/perf .eggs .hg .git build doc/build"
doctest_optionflags= "ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
timeout = 0
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = style,doc,py37,py38,py39,py310,py311,coverage
skipsdist=true
[testenv]
allowlist_externals = poetry
commands =
poetry install --extras all
poetry run pytest {posargs}
[testenv:doc]
commands =
poetry install --extras all --extras doc
poetry run sphinx-build doc build/sphinx/html
[testenv:coverage]
commands =
poetry install --extras all
poetry run coverage erase
poetry run pytest --cov {posargs}
poetry run coverage html
[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files
"""