-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (85 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
98 lines (85 loc) · 1.9 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
[build-system]
requires = ["setuptools>=80", "setuptools-scm[simple]>=9.2"]
build-backend = "setuptools.build_meta"
[project]
name = "ptychodus"
description = "Ptychodus is a ptychography data pipeline application."
readme = "README.rst"
requires-python = ">=3.11"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
dependencies = [
"colorcet",
"h5py>=3",
"hdf5plugin",
"matplotlib",
"numpy",
"psutil",
"pydantic",
"pyyaml",
"requests",
"scikit-image",
"scipy",
"tifffile",
"watchdog",
]
dynamic = ["version"]
[project.scripts]
convert-to-ptychodus = "ptychodus.convert_to_ptychodus:main"
ptychodus = "ptychodus.__main__:main"
ptychodus-bdp = "ptychodus.ptychodus_bdp:main"
ptychodus-ptychopinn-tf-test = "ptychodus.scripts.ptychopinn_tf_test:main"
[project.optional-dependencies]
globus = ["globus-compute-sdk", "globus-sdk>=4.5.0"]
gui = ["PyQt5"]
#ptychonn = ["ptychonn==0.3.*,>=0.3.7"]
ptychi = ["ptychi==1.*,>=1.2.0"]
ptychopinn = ["ptychopinn[torch]"]
[tool.uv.sources]
#ptychopinn = { path = "../PtychoPINN", editable = true }
ptychopinn = { git = "https://github.com/hoidn/PtychoPINN", branch = "torchapi-devel" }
[tool.setuptools.package-data]
"ptychodus" = ["py.typed"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
[[tool.mypy.overrides]]
module = [
"colorcet",
"globus_sdk.*",
"h5py",
"hdf5plugin",
"lightning",
"ptychi.*",
"ptycho.*",
"ptycho_torch.*",
"ptychonn.*",
"pvaccess",
"pvapy.*",
"scipy.*",
"tifffile",
]
ignore_missing_imports = true
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [
"F",
"N",
"NPY",
]
[tool.pyright]
pythonVersion = "3.11"
[dependency-groups]
dev = [
"mypy",
"pyqt5-stubs",
"pytest",
"ruff",
"types-psutil",
"types-pyyaml",
"types-requests",
]