conda create -n igv_notebook python=3.9.1
conda activate igv_notebook
conda install pip
conda install jupyter
pip install -e .
- Bump version number
- Add version tag
- Build the archive
python setup.py sdist bdist_wheel
- Upload to test.pypi
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Upload to pypi
python -m twine upload dist/*
Installing from test.pypi
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple igv_notebook
- Clone the igv.js project
- Run
npm run build_iife
. See the igv.js README for further build instructions - Copy
dist/igv.iife.js
from the igv.js repository toigv_notebook/js/igv.iife.js
- Replace "var igv=" with "window.igv=" at start of file