-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.01 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
[project]
name = "pyrust"
description = "Bindings for the pyrust-internal crate"
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
authors = [
{ name = "Eric Egli", email = "43848365+eegli@users.noreply.github.com" },
]
dynamic = ["version"]
[tool.maturin]
manifest-path = "crates/pyrust-bindings/Cargo.toml"
module-name = "pyrust._bindings"
python-source = "python"
strip = true
[project.scripts]
pyrust = "pyrust.__main__:launch_cli"
[dependency-groups]
dev = [
"maturin>=1.8.1",
"mypy>=1.15.0",
"pytest>=8.3.4",
"ruff>=0.9.4",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
[tool.ruff]
line-length = 80
target-version = "py312"
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
# use global line length
docstring-code-line-length = "dynamic"
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"