-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (54 loc) · 1.35 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (54 loc) · 1.35 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
[project]
name = "cnf"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Max Gallant", email = "mcgallant72@gmail.com" }
]
requires-python = ">=3.11"
dependencies = [
"ase>=3.26.0",
"average-minimum-distance>=1.6.0",
"line-profiler>=5.0.0",
"mp-api>=0.45.8",
"numpy<2",
"pymatgen>=2025.6.14",
"pytest-xdist>=3.8.0",
"rustworkx>=0.17.1",
"sortedcontainers>=2.4.0",
"tensorflow>=2.14.0",
"tensorpotential>=0.4.5",
]
[project.optional-dependencies]
jobs = ["jobflow>=0.1.18"]
[project.scripts]
cnf = "cnf.cli:main"
[build-system]
requires = ["maturin>=1.4,<2.0"]
build-backend = "maturin"
[tool.maturin]
# Path to the Rust crate
manifest-path = "src/cnf/rust_cnf/Cargo.toml"
# Where Python source code lives
python-source = "src"
# The resulting module will be importable as cnf.rust_cnf
module-name = "cnf.rust_cnf"
# Include Python packages not just the Rust extension
python-packages = ["cnf"]
# Features to enable (if any)
features = ["pyo3/extension-module"]
[dependency-groups]
dev = [
"mkdocs>=1.6",
"mkdocs-jupyter>=0.25",
"mkdocs-material>=9.5",
"pytest>=8.4.1",
]
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ["tests/helpers"]
addopts = "--disable-warnings"
markers = [
"debug: Marks a test as a \"debug\" test. Skipped by default.",
]