-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
115 lines (105 loc) · 2.37 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
[build-system]
requires = [
"scikit-build-core",
"nanobind",
]
build-backend = "scikit_build_core.build"
[project]
name = "pyrsistent_extras"
version = "0.2.0"
description = "Extra data structures for pyrsistent"
readme = "README.rst"
license = { file = "LICENSE.mit" }
requires-python = ">=3.8"
authors = [ { name = "mingmingrr", email = "[email protected]" } ]
dependencies = [
"typing-extensions",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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 :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
]
[project.optional-dependencies]
test = [
"pyrsistent",
"lenses",
"pytest",
"hypothesis",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
]
coverage = [
"coverage",
"coveralls",
"cpp-coveralls",
]
[project.urls]
Homepage = "https://github.com/mingmingrr/pyrsistent-extras"
Changelog = "https://github.com/mingmingrr/pyrsistent-extras/blob/master/CHANGELOG.md"
Docs = "https://pyrsistent-extras.readthedocs.io/en/latest"
Issues = "https://github.com/mingmingrr/pyrsistent-extras/issues"
[tool.scikit-build]
minimum-version = "0.4"
build-dir = "build/{wheel_tag}"
wheel.py-api = "cp312"
[tool.mypy]
[[tool.mypy.overrides]]
module = "lenses"
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = [
"--showlocals",
"--doctest-modules",
"--new-first",
"--failed-first",
"--capture", "no",
"--no-header",
]
doctest_optionflags = [
"ELLIPSIS",
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
]
testpaths = [
"src",
"tests",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38,py39,py310,py311,py312,py313,pypy3
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
pass_env =
PYTEST_ADDOPTS
HYPOTHESIS_PROFILE
NIX_LD
NIX_LD_LIBRARY_PATH
set_env =
SKBUILD_BUILD_DIR={temp_dir}/build
SKBUILD_CMAKE_BUILD_TYPE=Debug
SKBUILD_CMAKE_DEFINE=BUILD_COVERAGE=ON;BUILD_TESTS=ON
commands =
{temp_dir}/build/pyrsistent_tests
{env_python} -m pytest {env_site_packages_dir}/pyrsistent_extras {tox_root}/tests
extras = test
allowlist_externals =
{temp_dir}/build/pyrsistent_tests
"""