-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (39 loc) · 1.07 KB
/
pyproject.toml
File metadata and controls
48 lines (39 loc) · 1.07 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
[build-system]
requires = ["maturin>=1.0,<2.0", "pip>=24.0"]
build-backend = "maturin"
[project]
name = "pybinney"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Rust"
]
dynamic = ["version"]
requires-python = "~=3.10"
[project.optional-dependencies]
polars = [
"polars-u64-idx[pyarrow]>=1.6.0",
"numpy>=1.26"
]
[project.scripts]
binney-cli = "binney.cli:main"
[tool.pdm]
ignore_package_warnings = ["pdoc"]
[tool.pdm.dev-dependencies]
test = ["coverage"]
docs = [
"pdoc>=16.0.0",
]
[tool.pdm.scripts]
test.composite = ["test-code", "test-rust", "test-docs", "coverage-html"]
test-code.env = {PYTHONWARNINGS = "error"}
test-code.cmd = "python -m coverage run -m unittest discover -t . -s tests -v"
test-rust.cmd = "cargo test"
test-docs.cmd = "pdoc binney -o docs"
document.cmd = "pdoc binney -o docs"
document-live.cmd = "pdoc binney"
coverage-text.cmd = "python -m coverage report"
coverage-html.cmd = "python -m coverage html"
coverage-xml.cmd = "python -m coverage xml"
[tool.maturin]
bindings = "pyo3"
compatibility = "manylinux2014"