-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
72 lines (63 loc) · 1.94 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
[tool.poetry]
name = "exact_cover"
version = "1.4.0"
description = "Solve exact cover problems"
readme = "README.md"
authors = ["Moy Easwaran"]
maintainers = ["Jack Grahl <jack.grahl@gmail.com>"]
homepage = "https://github.com/jwg4/exact_cover"
repository = "https://github.com/jwg4/exact_cover"
license = "GPL-2.0-only"
include = [
{path = "src/*.c", format = "sdist"},
{path = "src/*.h", format = "sdist"}
]
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
numpy = [
{version = ">=1.14", python = "==3.7"},
{version = ">=1.17", python = "==3.8"},
{version = ">=1.19", python = "==3.9"},
{version = ">=1.21", python = "==3.10"},
{version = ">=1.23", python = "==3.11"},
{version = ">=1.24", python = ">=3.12"},
]
setuptools = ">=51.1.2"
# When we build wheels, we always do so with an explicit pinned numpy version
#
[tool.poetry.group.wheel_builder]
optional = true
[tool.poetry.group.wheel_builder.dependencies]
python = ">=3.7,<4.0"
numpy = [
{version = "==1.14.5", python = "==3.7"},
{version = "==1.17.3", python = "==3.8"},
{version = "==1.19.3", python = "==3.9"},
{version = "==1.21.6", python = "==3.10"},
{version = "==1.23.2", python = "==3.11"},
{version = ">=1.24.2", python = ">=3.12"},
]
setuptools = ">=51.1.2"
[tool.poetry.dev-dependencies]
hypothesis = ">=6.56.3"
pytest = ">=6.1.2"
flake8 = ">=4.0"
black = ">=22.3.0"
valgrindci = ">=0.2.0"
pytest-fail-slow = ">=0.3.0"
[tool.poetry.build]
script = "build.py"
generate-setup-file = true
[tool.poetry.scripts]
test = 'tools.run_tests:test'
quicktest = 'tools.run_tests:quicktest'
doctest = 'tools.run_tests:run_doctest'
debug = 'tools.debug:run_debug'
parse_valgrind = 'tools.debug:parse_valgrind_results'
[build-system]
requires = ["setuptools", "oldest-supported-numpy", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
exclude = "polyomino_data"
[tool.pytest.ini_options]
addopts = "--doctest-modules --doctest-glob='*.md'"