-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathJupyterProxy-NESTDesktop-0.4.0-GCCcore-13.3.0.eb
More file actions
69 lines (59 loc) · 2.1 KB
/
JupyterProxy-NESTDesktop-0.4.0-GCCcore-13.3.0.eb
File metadata and controls
69 lines (59 loc) · 2.1 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
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'PythonBundle'
name = 'JupyterProxy-NESTDesktop'
version = '0.4.0'
homepage = 'https://nest-desktop.readthedocs.io/'
description = """
NEST Desktop is a web-based GUI application for NEST Simulator,
an advanced simulation tool for the computational neuroscience.
"""
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}
builddependencies = [
('binutils', '2.42'),
# check for existance
# ('nest-simulator', '3.8', ('gpsmpi', '2024a')),
('nest-desktop', '4.0.5'),
]
dependencies = [
('Python', '3.12.3'),
('jupyter-server-proxy', '20250303'),
]
exts_defaultclass = 'PythonPackage'
exts_default_options = {
'download_dep_fail': True,
'source_urls': [PYPI_SOURCE],
'use_pip': True,
}
exts_list = [
('jupyter-nestdesktop-proxy', version, {
'source_tmpl': 'v%(version)s.tar.gz',
'source_urls': ['https://github.com/jhgoebbert/jupyter-nestdesktop-proxy/archive/refs/tags/'],
'checksums': [
'a50e27462a1d2d3afad749239b7e1e0d0b721de909db4fb59b83e9293e9e137c',
],
}),
]
postinstallcmds = [
# write nest-desktop
(
'cp %(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop.in '
' %(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop \n'
'prepenv="'
' module purge\\n'
' module load Stages/2025\\n'
' module load GCC\\n'
' module load Python\\n'
' module load ParaStationMPI\\n'
' module load nest-simulator\\n'
' module load nest-desktop\\n"\n'
'sed -i "s#<MODULES>#$prepenv#g" '
' "%(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop"'
),
'chmod +x %(installdir)s/lib/python%(pyshortver)s/site-packages/jupyter_nestdesktop_proxy/bin/nest-desktop'
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
moduleclass = 'tools'