Skip to content

Commit

Permalink
Merge pull request #51 from rettinghaus/update/pip
Browse files Browse the repository at this point in the history
Update pip installation guide
  • Loading branch information
lpugin authored Nov 16, 2023
2 parents 1a4e350 + f1d9a91 commit 68ff947
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions _book/06-installing-or-building-from-sources/03-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <path_to_local_repo>
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 <path_to_local_repo>
```

#### Building a Python wheel locally

Expand Down

0 comments on commit 68ff947

Please sign in to comment.