diff --git a/_book/06-installing-or-building-from-sources/03-python.md b/_book/06-installing-or-building-from-sources/03-python.md index 7a36489..f21a8eb 100644 --- a/_book/06-installing-or-building-from-sources/03-python.md +++ b/_book/06-installing-or-building-from-sources/03-python.md @@ -111,13 +111,19 @@ python setup.py build_ext --inplace --define NO_PAE_SUPPORT #### Building with pip -You can build and install with `pip` by passing a path to a local repository with: +You can build and install with `pip` directly from a remote repository with: ```bash -pip install +pip install --global-option=build_ext git+https://github.com/rism-digital/verovio ``` -Note that installing directly from GitHub with `pip install git+https://github.com/rism-digital/verovio` will not work. +You may specify the branch, commit hash, or tag name after an `@` at the end of the Git url. + +If you have a local copy of the repository just run: + +```bash +pip install +``` #### Building a Python wheel locally