-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
181 lines (162 loc) · 3.64 KB
/
Copy pathpyproject.toml
File metadata and controls
181 lines (162 loc) · 3.64 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
[build-system]
requires = ["setuptools>=80", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "deepx-dock"
version = "0.9.12"
authors = [
{name = "DeepH team", email = "deeph-pack@outlook.com"},
]
description = "DeepH-dock seamlessly integrates deep learning with first-principles calculations. It serves as a modular and extensible bridge, functioning both as the dedicated interface for the DeepH-pack suite and as a standalone tool for coupling deep learning models with computational materials science workflows."
readme = "README.md"
license = "GPL-3.0-or-later"
keywords = [
"DeepH-dock", "DeepH-pack", "Physics", "Deep Learning", "Graph Neural Network", "JAX", "FHI-aims", "OpenMX", "ABACUS", "SIESTA", "HPRO"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Chemistry",
]
requires-python = ">=3.12,<3.15"
dependencies = [
# Core
"numpy",
"scipy",
"h5py",
"click",
"tqdm",
"toml",
"threadpoolctl",
"joblib",
# Misc
"matplotlib",
"mendeleev",
# Computation
"ase",
"libtetrabz",
"hpro",
]
[project.optional-dependencies]
dev = [
# Testing
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-timeout>=2.0",
# Linting & Formatting
"ruff>=0.1.0",
"black>=23.0",
# Type checking
"mypy>=1.0",
# Pre-commit hooks
"pre-commit>=3.0",
# Documentation (inherit from docs)
"sphinx",
"sphinx-book-theme",
"sphinx-autobuild",
"ipykernel",
"myst_nb",
"nbstripout",
"recommonmark",
"ipython_genutils",
"sphinx-design",
"jupytext",
"docutils",
]
docs = [
"sphinx",
"sphinx-book-theme",
"sphinx-autobuild",
"ipykernel",
"myst_nb",
"nbstripout",
"recommonmark",
"ipython_genutils",
"sphinx-design",
"jupytext",
"docutils",
]
mpi = ["mpi4py"]
petsc = [
"mpi4py",
"numpy",
"petsc",
"petsc4py",
]
slepc = [
"mpi4py",
"numpy",
"slepc",
"slepc4py",
]
pyscf = [
"pyscf",
]
[project.urls]
Homepage = "https://github.com/kYangLi/DeepH-dock"
Documentation = "https://github.com/kYangLi/DeepH-dock#readme"
Repository = "https://github.com/kYangLi/DeepH-dock.git"
Issues = "https://github.com/kYangLi/DeepH-dock/issues"
[project.scripts]
dock = "deepx_dock._cli:cli"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["deepx_dock*"]
exclude = [
"docs*", "examples*", "tests*", ".*",
"*.egg-info", "build*", "Makefile"
]
[tool.setuptools.package-data]
"deepx_dock" = [
"**/*.toml",
"**/*.h5",
"**/*.json",
"**/*.sh",
"**/Makefile",
]
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"unit: Unit tests (fast, isolated)",
"integration: Integration tests (slower, use real data)",
"slow: Slow tests",
]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
"-ra",
"-rP",
"--cov=deepx_dock",
"--cov-report=term-missing",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.coverage.run]
source = ["deepx_dock"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]
precision = 2