Skip to content

Commit e2878f3

Browse files
authored
add pip dependencies (required, optional, groups) (#2118)
* required deps * optional deps: `plugins`, `gpu` * move `tomophantom` to `plugins` * groups (requires `pip>25.0.1`): `test`, `docs` * move `cvxpy` to `test` * fixes #2116, fixes #2074, closes #2117, part of #1875
1 parent 3b60d76 commit e2878f3

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,52 @@ maintainers = [{name="CIL developers", email="[email protected]"}]
4242
requires-python = ">=3.10"
4343
readme = "README.md"
4444
keywords = ["tomography", "optimisation"]
45+
dependencies = [
46+
#"cil-data>=22", # missing from PyPI
47+
"dxchange",
48+
"h5py",
49+
#"ipp==2021.12.*", # PyPI conflicts with conda package
50+
"numba",
51+
"numpy>=1.23",
52+
"olefile>=0.46",
53+
"pillow",
54+
"pywavelets",
55+
"scipy>=1.4.0",
56+
"tqdm",
57+
"zenodo_get>=1.6",
58+
]
59+
[project.optional-dependencies]
60+
plugins = [
61+
"ipywidgets",
62+
#"tomophantom==2.0.0", # [linux] # missing from PyPI
63+
]
64+
gpu = [
65+
"astra-toolbox>=1.9.9.dev5,<=2.1", # [not osx]
66+
#"tigre>=2.4,<=2.6", # missing from PyPI
67+
]
68+
[dependency-groups]
69+
test = [
70+
#"ccpi-regulariser=24.0.1", # [not osx] # missing from PyPI
71+
"cvxpy",
72+
"matplotlib>=3.3.0",
73+
"packaging",
74+
"scikit-image",
75+
"unittest-parametrize",
76+
"wget",
77+
]
78+
docs = [
79+
"jinja2",
80+
#"pydata-sphinx-theme",
81+
"recommonmark",
82+
"sphinx",
83+
"sphinx_rtd_theme",
84+
"sphinx-autobuild",
85+
"sphinx-click",
86+
"sphinx-copybutton",
87+
"sphinx-panels",
88+
"sphinxcontrib-bibtex",
89+
"nbsphinx",
90+
"sphinx-gallery",
91+
"sphinx-copybutton",
92+
"notebook",
93+
]

0 commit comments

Comments
 (0)