-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
72 lines (63 loc) · 2.06 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "PtyPy"
authors = [
{ name="Bjoern Enders", email="[email protected]"},
{ name="Pierre Thibault", email="[email protected]" },
{ name="Benedikt Daurer", email="[email protected]" },
]
description = "Ptychography Reconstruction for Python"
readme = "README.rst"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Operating System :: POSIX :: Linux"
]
dynamic = ["version"]
dependencies = [
"numpy",
"scipy",
"h5py",
]
[project.optional-dependencies]
full = ["mpi4py","matplotlib","pyzmq","pillow", "pyfftw", "pyyaml"]
cupy-cuda11x = ["mpi4py","matplotlib","pyzmq","pillow", "pyfftw", "cupy-cuda11x"]
cupy-cuda12x = ["mpi4py","matplotlib","pyzmq","pillow", "pyfftw", "cupy-cuda12x"]
[project.scripts]
"ptypy.plot" = "ptypy.cli.plotter:ptypy_plot"
"ptypy.inspect" = "ptypy.cli.inspect:ptypy_inspect"
"ptypy.plotclient" = "ptypy.cli.plotclient:ptypy_plotclient"
"ptypy.new" = "ptypy.cli.new_param_tree:ptypy_new"
"ptypy.csv2cp" = "ptypy.cli.default_params:ptypy_csv2cp"
"ptypy.run" = "ptypy.cli.run_script:ptypy_run"
"ptypy.cli" = "ptypy.cli.command_line_interface:ptypy_run"
[project.urls]
"Homepage" = "https://github.com/ptycho/ptypy"
"Bug Tracker" = "https://github.com/ptycho/ptypy/issues"
"Documentation" = "https://ptycho.github.io/ptypy"
[tool.pytest.ini_options]
testpaths = [
"test/core_tests",
"test/engine_tests",
"test/io_tests",
"test/ptyscan_tests",
"test/template_tests",
"test/util_tests",
]
# this is all BETA according to setuptools
[tool.setuptools.dynamic]
version = {attr = "ptypy.version.version"}
[tool.setuptools.package-dir]
ptypy = "ptypy"
#[tool.setuptools.packages.find]
#where = ["ptypy"]
[tool.setuptools.package-data]
ptypy = ["resources/*",]
"ptypy.accelerate.cuda_common" = ["*.cu", "*.cuh"]