-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (61 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (61 loc) · 1.62 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
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
[project]
name="openviatica"
version="0.1.5"
description = "OpenViatica is a data analysis workspace creation, management and maintnenace tool"
dependencies = [
"pydantic", # For data typechecker
"typeguard", # For function parameters typechecker
"typer",
]
authors = [{name = "ftorres7382"}]
maintainers = [{name = "ftorres7382"}]
requires-python = ">=3.12"
license = {file = "LICENSE"}
[project.scripts]
ovutils = "OpenViatica._cli_interface_core:app"
[dependency-groups]
dev = [
"pytest",
# Type checkers
"mypy", # Static Typechecker, will be using mypy --strict
# Rust dependencies
"maturin[zig]"
]
docs = [
"mkdocs-material",
"mkdocs-drawio",
"mkdocs-same-dir",
"mkdocs-exclude",
]
# DO THE LICENSE HEADERS
extra = [
"licenseheaders"
]
# Set both dev and docs as the default
[tool.uv]
package = true
default-groups = ["dev", "docs", "extra"]
# Rebuild the package if any of these files change
cache-keys = [
{ file = "pyproject.toml" },
]
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
# This handles what Hatch used to do. It looks in 'python/'
# and finds the 'OpenViatica' folder automatically.
python-source = "python"
# The Rust module will be accessible as OpenViatica._rust
module-name = "OpenViatica._rs_core"
[tool.pytest.ini_options]
# Always look in the tests directory
testpaths = ["tests"]
# Add helpful flags (v = verbose, ra = show extra summary info)
addopts = "-v -ra"
# Ensure the src folder is in the path for testing
pythonpath = ["python"]
[tool.mypy]
strict = true
# Mypy also needs to know where to look
mypy_path = "python"