-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 918 Bytes
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 918 Bytes
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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "ptychi"
description = "Pty-chi is a package of ptychography reconstruction engines"
readme = "README.rst"
requires-python = ">=3.11"
license = {file = "LICENSE.txt"}
dependencies = [
"h5py",
"mypy",
"numpy>=2.1",
"pandas",
"pytest>=8.4.1",
"ruff",
"scikit-image",
"scikit-learn",
"scipy",
"torch>=2.4",
"torchvision",
"tqdm",
"matplotlib>=3.10.6",
]
dynamic = ["version"]
[project.optional-dependencies]
movies = ["opencv-python"]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
nn = [
"torchinfo",
]
[tool.setuptools_scm]
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.setuptools.package-data]
"ptychi" = ["py.typed"]
[tool.setuptools.packages.find]
where = ["src"]