Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions easybuild/easyconfigs/n/napari/napari-0.4.18-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Thomas Hoffmann, EMBL Heidelberg, structures-it@emblde, 2023/08
easyblock = 'PythonBundle'

name = 'napari'
version = '0.4.18'

homepage = 'https://napari.org/'
description = """napari is a fast, interactive, multi-dimensional image viewer for Python. It's
designed for browsing, annotating, and analyzing large multi-dimensional images.
It's built on top of Qt (for the GUI), vispy (for performant GPU-based
rendering), and the scientific Python stack (numpy, scipy)."""

toolchain = {'name': 'foss', 'version': '2023a'}

builddependencies = [
('hatchling', '1.18.0'),
('poetry', '1.5.1'),
]

dependencies = [
('Python', '3.11.3'),
('PyQt5', '5.15.10'),
('SciPy-bundle', '2023.07'),
('PyYAML', '6.0'),
('pydantic', '2.5.3'),
('dask', '2023.9.2'),
('PyOpenGL', '3.1.7'),
('imageio', '2.33.1'),
('tqdm', '4.66.1'),
('IPython', '8.14.0'),
('VisPy', '0.12.2'), # vispy<0.13,>=0.12.1
('scikit-image', '0.22.0'),
('matplotlib', '3.7.2'),
('Qtconsole', '5.5.1'),
('Pint', '0.23'),
('wrapt', '1.15.0'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('in_n_out', '0.1.9', {
'checksums': ['89feb944e420faf42d3c2542145681b4d57144355932c2b859695fcdc4f9a2da'],
}),
('pydantic_compat', '0.1.2', {
'checksums': ['c5c5bca39ca2d22cad00c02898e400e1920e5127649a8e860637f15566739373'],
}),
('app_model', '0.2.4', {
'checksums': ['127cda637003a34b26371c9c68ae5b24d7012682f071a10657a94900c8cd439d'],
}),
('cachey', '0.2.1', {
'checksums': ['0310ba8afe52729fa7626325c8d8356a8421c434bf887ac851e58dcf7cf056a6'],
}),
('lazy_loader', '0.3', {
'checksums': ['3b68898e34f5b2a29daaaac172c6555512d0f32074f147e2254e4a6d9d838f37'],
}),
('docstring_parser', '0.15', {
'checksums': ['48ddc093e8b1865899956fcc03b03e66bb7240c310fac5af81814580c55bf682'],
}),
('magicgui', '0.8.1', {
'checksums': ['43553d8f11002a79dd5fee57caff3ba9d3e37d7d50e8ed40efe79b360adc806a'],
}),
('numpydoc', '1.6.0', {
'checksums': ['ae7a5380f0a06373c3afe16ccd15bd79bc6b07f2704cbc6f1e7ecc94b4f5fc0d'],
}),
('psygnal', '0.9.5', {
'checksums': ['4956ea6c36a75f7fc457558935b67dd8be2594661b4d08eeb3357d69c509c55f'],
}),
('superqt', '0.6.1', {
'checksums': ['f1a9e0499c4bbcef34b6f895eb57cd41301b3799242cd030029238124184dade'],
}),
('napari-console', '0.0.9', {
'checksums': ['3bc86dd96cf94b1af96bba1043f90a39b1369bb978a8df9038a1ac422e66b532'],
}),
('napari-plugin-engine', '0.2.0', {
'checksums': ['fa926f869d70e0d652c005661948cd0c7fee5508ae17d437937f34f5287590b3'],
}),
('napari-svg', '0.1.10', {
'checksums': ['18e642c888a71e09c9d1097f25bced1e7ef5dde1771469647bcd77975800f77d'],
}),
('typer', '0.9.0', {
'checksums': ['50922fd79aea2f4751a8e0408ff10d2662bd0c8bbfa84755a699f3bada2978b2'],
}),
('pyproject_hooks', '1.0.0', {
'checksums': ['f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5'],
}),
('build', '1.0.3', {
'checksums': ['538aab1b64f9828977f84bc63ae570b060a8ed1be419e7870b8b4fc5e6ea553b'],
}),
('mdurl', '0.1.2', {
'checksums': ['bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba'],
}),
('markdown-it-py', '3.0.0', {
'modulename': 'markdown_it',
'checksums': ['e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb'],
}),
('rich', '13.7.0', {
'checksums': ['5cb5123b5cf9ee70584244246816e9114227e0b98ad9176eede6ad54bf5403fa'],
}),
('npe2', '0.7.3', {
'checksums': ['4bbb45577a7c60e1aa15636040ef4cf7690d22470e08717af689f50ddeffc807'],
}),
('mypy_extensions', '1.0.0', {
'checksums': ['75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782'],
}),
(name, version, {
'patches': ['%(name)s-0.4.18_pydantic2-compatibility.patch'],
'preinstallopts': "sed -i 's|sphinx.*|sphinx|g' setup.cfg && ",
'checksums': [
{'napari-0.4.18.tar.gz': 'daea9ab94124140fc0f715e945dd1dd6dc3056a1cb2f2cc31fc29b80162943e4'},
{'napari-0.4.18_pydantic2-compatibility.patch':
'4f4b828dc2ff680c21428c427d44cebbdfa490233cbbaffe51b9548ab4e2c999'},
],
}),
]

sanity_check_paths = {
'files': ['bin/%(name)s'],
'dirs': ['lib/python%(pyshortver)s/site-packages/%(name)s'],
}

sanity_check_commands = [
'%(name)s --help',
'pyrcc5 -version 2>&1 |grep pyrcc5' # make sure PyQt5 module was not built with --no-tools
]

moduleclass = 'vis'
Loading