| name | build-plugin |
| description | Build and install Python plugins using plugin_builder.py. Use when asked to build, install, or reinstall a plugin. |
Building Plugins
Use plugin_builder.py from repo root. Requires venv activation first.
First-time setup
source .venv/bin/activate
pip install --upgrade -r requirements.txt
nvm install
npm install
Commands
python tools/plugin_builder.py --install ui
python tools/plugin_builder.py --js --install python-remote-file-source
python tools/plugin_builder.py --reinstall ui
python tools/plugin_builder.py --reinstall ui plotly-express
python tools/plugin_builder.py --js --reinstall ui
python tools/plugin_builder.py --install --server ui
Common flags
--install / -i: Install plugin (REQUIRED on first run)
--reinstall / -r: Force reinstall (no version bump needed, only after --install)
--js / -j: Also build JS assets (additive - Python build still happens)
--server / -s: Start deephaven-server after build
--docs / -d: Build documentation
--server-arg / -sa: Pass argument to deephaven server (e.g., -sa --port=9999)
Notes
- Must use
--install on first run - --reinstall will fail if plugin not already installed
- Assumes Python
.venv is already sourced (source .venv/bin/activate)
- Use
--reinstall during development when version hasn't changed
- Running with no flags defaults to
--js --install for all plugins
- First run may take longer to install dependencies