For users, we recommend installing using pip install
(see here).
For development, we recommend installing using the install.py
script
(here).
If install.py
fails, or you otherwise prefer to install manually, follow these steps:
conda create -n pyquibbler --override-channels --strict-channel-priority -c conda-forge -c nodefaults jupyterlab=3 cookiecutter nodejs jupyter-packaging git
conda activate pyquibbler
In the quibbler root directory:
cd pyquibbler-labextension
pip install -e .
jupyter labextension develop . --overwrite
jlpm run build
jupyter lab build --minimize=False
If you are developing the client code, then to automatically build following changes, run:
jlpm run watch
cd ../pyquibbler
pip install -e ".[dev, sphinx]"
If you are developing the pyquibbler jupyter-lab extension, to be able to run
the specific jupyterlab-extension tests, you will also need to install
chromedriver
(see here).