easyblock = 'PythonBundle' name = 'jupyterlmod' version = '4.0.3' # This easyconfig installs the notebook and lab extension of Jupyter Lmod homepage = 'https://github.com/cmd-ntrf/jupyter-lmod' description = """Jupyter interactive notebook server extension that allows users to interact with environment modules before launching kernels. The extension uses Lmod's Python interface to accomplish module-related tasks like loading, unloading, saving collections, etc.""" toolchain = {'name': 'GCCcore', 'version': '12.2.0'} builddependencies = [ ('binutils', '2.39'), ] dependencies = [ ('Python', '3.10.8'), ('IPython', '8.14.0'), ('jupyter-server', '2.7.0'), ] sanity_pip_check = True use_pip = True exts_list = [ ('jupyterlmod', '4.0.3', { 'sources': ['%(name)s-%(version)s-py3-none-any.whl'], 'checksums': ['9939bd7927c2c347f9884247bac58018ca44d56184c5f29e9d704a9b3a09a299'] }), ] sanity_check_paths = { 'files': [], 'dirs': ['lib/python%(pyshortver)s/site-packages', 'share/jupyter'], } modextrapaths = { 'JUPYTER_CONFIG_PATH': 'etc/jupyter', 'JUPYTER_PATH': 'share/jupyter', } moduleclass = 'tools'