diff --git a/jupyter-openbis-extension/__init__.py b/jupyter-openbis-extension/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9fd8cd106ac6ffe3cc65d6f58d015f1d4696d482 100644 --- a/jupyter-openbis-extension/__init__.py +++ b/jupyter-openbis-extension/__init__.py @@ -0,0 +1,21 @@ +def _jupyter_server_extension_paths(): + return [{ + "module": "jupyter-openbis-extension.server" + }] + +# Jupyter Extension points +def _jupyter_nbextension_paths(): + return [{ + 'name': 'jupyter-openbis-extension', + 'label': 'Jupyter openBIS extension', + 'section': "notebook", + # # the path relative to the `jupyter-openbis-extension` directory containing the JavaScript + 'src': "nbextension", + # # directory in the `nbextension/` namespace + 'dest': "jupyter-openbis", + # _also_ in the `nbextension/` namespace + 'require' : "jupyter-openbis/extension" + }] + +def load_jupyter_server_extension(nbapp): + nbapp.log.info("jupyter-openbis-extension module enabled!")