-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (45 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
49 lines (45 loc) · 1.34 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
[build-system]
requires = ["maturin>=1.9,<2.0"]
build-backend = "maturin"
[project]
name = "sde-sim-rs"
dynamic = ["version"]
description = "Powerful and flexible SDE simulation library with Rust-accelerated Monte-Carlo"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10,<4.0"
authors = [
{name = "Alexander Schierbeck-Hansen", email = "aschii85@protonmail.com"},
]
# Metadata that helps PyPI users find your library
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"polars>=1.8.2",
"numpy>=1.24.4",
"plotly>=6.6.0",
]
[tool.maturin]
# Use 'python' feature to trigger the abi3 and extension-module logic we set in Cargo.toml
features = ["python"]
python-source = "python"
module-name = "sde_sim_rs.sde_sim_rs" # Defines Rust as a submodule
# Maturin automatically includes .pyi and py.typed if they are in the python-source
include = ["python/sde_sim_rs/py.typed"]
[tool.uv]
# 2026 UV Power-move: Automatically rebuild the Rust code when .rs files change
cache-keys = [
{ file = "Cargo.toml" },
{ file = "pyproject.toml" },
{ file = "src/**/*.rs" }
]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"ruff>=0.12.7",
"maturin>=1.9.0",
]