forked from deepmodeling/DeePTB
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (85 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (85 loc) · 2.65 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "dptb"
dynamic = ["version"]
description = "A unified deep learning package for electronic structure models including tight-binding, KS Hamiltonian and density matrix models"
readme = "README.md"
license = "LGPL-3.0-only"
license-files = ["LICENSE"]
requires-python = ">=3.10,<3.14"
authors = [
{name = "DeePTB Team"}
]
keywords = ["deep learning", "tight-binding", "electronic structure", "physics"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"numpy>=1.26,<2.5",
"scipy>=1.12",
"spglib",
"matplotlib",
"torch>=2.5.1,<=2.12.1",
"ase",
"pyyaml",
"dargs>=0.4.4,<0.5",
"e3nn>=0.5.1",
"torch-runstats>=0.2.0,<0.3",
"torch_scatter==2.1.2",
"torch_geometric>=2.8.0",
"opt-einsum>=3.3.0,<4",
"h5py>=3.11",
"lmdb>=1.4.1",
"pyfiglet>=1.0.2,<2",
"tensorboard",
"seekpath",
"rich>=13.0.0",
"pytest>=7.2.0",
"pytest-order>=1.2.0,<2"
]
[project.optional-dependencies]
3Dfermi = ["ifermi", "pymatgen"]
tbtrans_init = ["sisl"]
pybinding = ["pybinding"]
pythtb = ["pythtb"]
vbcsr = ["vbcsr>=0.2.2"]
[project.scripts]
dptb = "dptb.__main__:main"
[project.urls]
Repository = "https://github.com/deepmodeling/DeePTB"
Documentation = "https://deeptb.readthedocs.io"
[build-system]
requires = ["setuptools>=77.0.3", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["dptb*"]
[tool.setuptools_scm]
# Automatically generate version from git tags
write_to = "dptb/_version.py"
fallback_version = "0.0.0-dev" # Fallback for non-git installs (e.g. zip download)
# UV-specific configuration
[tool.uv]
# PyTorch Geometric uses find-links for torch_scatter distribution.
# DEFAULT: CPU version for developer uv sync / pip-style installs.
# For hardware-specific tested installs, prefer:
# ./install.sh auto
find-links = ["https://data.pyg.org/whl/torch-2.12.1+cpu.html"]
[dependency-groups]
dev = [
"ipykernel",
"jupyter",
"notebook",
]
[tool.pytest.ini_options]
markers = [
"smoke: quick checks for imports, config generation, model build, and core mapping entrypoints",
"regression: behavior-preserving tests for numerical semantics, tensor shape/order, and compatibility",
"slow: training, complex postprocess, external/optional dependency, or otherwise long-running tests",
]