-
Create virtual environment:
python -m venv venv
-
Install dependencies with
pnpm install
-
Install the package with `pip install -e '.[dev]'
Make sure you've installed or run pnpm build:prod
first.
- Jupyter notebook 5.2 and earlier:
jupyter nbextension install --sys-prefix --symlink --overwrite --py lmk
jupyter nbextension enable --sys-prefix --py lmk
- Jupyterlab:
jupyter labextension develop --overwrite .
pnpm watch
When this is running, if you make changes to the plugin code reloading the page should be sufficient to see changes.
pnpm check
pnpm build:python
pnpm pypi-check
pnpm pypi-upload-test
pnpm pypi-upload
pnpm npm-publish