forked from deepmodeling/DeePTB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
87 lines (78 loc) · 2.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
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
[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 = {text = "LGPL-3.0"}
requires-python = ">=3.9,<=3.12.9"
authors = [
{name = "DeePTB Team"}
]
keywords = ["deep learning", "tight-binding", "electronic structure", "physics"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"pytest>=7.2.0",
"pytest-order==1.2.0",
"numpy",
"scipy>=1.11,<1.13",
"spglib",
"matplotlib",
"torch>=2.0.0,<=2.5.1",
"ase",
"pyyaml",
"dargs==0.4.4",
"e3nn>=0.5.1",
"torch-runstats==0.2.0",
"torch_scatter==2.1.2",
"torch_geometric>=2.4.0",
"opt-einsum==3.3.0",
"h5py>=3.7.0,<3.12,!=3.10.0",
"lmdb==1.4.1",
"pyfiglet==1.0.2",
"tensorboard",
"seekpath",
"rich>=13.0.0",
]
[project.optional-dependencies]
3Dfermi = ["ifermi", "pymatgen"]
tbtrans_init = ["sisl"]
pybinding = ["pybinding"]
pythtb = ["pythtb"]
[project.scripts]
dptb = "dptb.__main__:main"
[project.urls]
Repository = "https://github.com/deepmodeling/DeePTB"
Documentation = "https://deeptb.readthedocs.io"
[build-system]
requires = ["setuptools>=64", "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 GPU, use:
# uv sync --find-links https://data.pyg.org/whl/torch-2.5.0+cu121.html
# OR use the helper script: ./install.sh cu121
find-links = ["https://data.pyg.org/whl/torch-2.5.0+cpu.html"]
[dependency-groups]
dev = [
"ipykernel",
"jupyter",
"notebook",
]