-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
73 lines (65 loc) · 2.09 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
[build-system]
requires = ["numpy>=2.0", "pandas", "scikit-learn", "scikit-build-core>=0.3.3"]
build-backend = "scikit_build_core.build"
[project]
name = "permanent"
version = "0.0.1"
description = "Extension module for computing permanents of square and rectangular matrices."
readme = "README.md"
requires-python = ">=3.9"
authors = [{name = "QC-Devs", email = "[email protected]"}]
keywords = ["math", "linear algebra", "combinatorics", "permanent"]
classifiers = [
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Topic :: Scientific/Engineering :: Mathematics",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = {file = "LICENSE"}
urls = {home = "https://permanent.qcdevs.org/"}
dependencies = ["numpy>=2.0"]
[project.optional-dependencies]
test = ["pytest"]
[tool.scikit-build]
wheel.expand-macos-universal-tags = true
cmake.args = ["-DPERMANENT_TUNE=OFF"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
log_cli_level = "INFO"
filterwarnings = [
"error",
"ignore::pytest.PytestCacheWarning",
]
testpaths = ["tests"]
[tool.cibuildwheel]
build-frontend = "build[uv]"
test-command = "pytest tests"
test-extras = ["test"]
[tool.cibuildwheel.pyodide]
environment.CFLAGS = "-fexceptions"
environment.LDFLAGS = "-fexceptions"
build-frontend = {name = "build", args = ["--exports", "whole_archive"]}
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"PGH", # pygrep-hooks
"RUF", # Ruff-specific
"UP", # pyupgrade
]