#!/bin/bash -eux

exit 0

conda install python==3.7.10 jupyterlab==3.1.1 jupyterlab_widgets==1.0.0 jupyterlab_server==2.6.1 jupyter_client==6.1.12  nodejs==14.17.1 ipython==7.26.0 ipykernel==5.5.5 ipywidgets==7.6.3 traitlets==5.0.5 widgetsnbextension==3.5.1 notebook==6.3.0    typing typing_extensions==3.10.0.0   pip setuptools jupyter-packaging build twine  pylint pytest pytest-cov pytest-check-links nbval flake8


cd ~/labtests/serialhub/

jlpm  &&  jlpm build
pip install -e ".[examples]"
jlpm  &&  jlpm build

#py.test
#which firefox && (( "${DISPLAY}" )) && npm test

jupyter labextension uninstall -y serialhub
jupyter labextension uninstall -y .
pip uninstall serialhub
#jupyter labextension install @jupyter-widgets/jupyterlab-manager --minimize=False --no-build  --debug

pip install -e ".[examples]"
jupyter labextension develop . --overwrite
jlpm build
jupyter lab  build  --dev-build=False --minimize=False --debug

jupyter labextension list


jupyter nbextension install --py --symlink --sys-prefix serialhub || true
jupyter nbextension enable --py --sys-prefix serialhub || true
jupyter nbextension list
