Optionnal dependencies gui and opencl

This commit is contained in:
Jerome Kieffer 2023-01-17 15:28:13 +01:00
parent 0d6a75a3ef
commit 760b4279bb
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ requires = [
'tomli>=1.0.0' 'tomli>=1.0.0'
] ]
[project.optional-dependencies]
gui = [ "PyQt5" ]
opencl = [ "pyopencl" ]
all = ["PyQt5", "pyopencl" ]
[project.urls] [project.urls]
homepage = 'http://www.silx.org' homepage = 'http://www.silx.org'
documentation = 'http://www.silx.org/doc/pyFAI/latest/' documentation = 'http://www.silx.org/doc/pyFAI/latest/'