aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2018-05-23 08:25:45 -0700
committerAdam Spiers <git@adamspiers.org>2018-05-23 08:25:45 -0700
commit39f6c72a63f570615db300ee4b0f334342592c59 (patch)
tree20df12c1f65ea4c6ad2149fd94a5760dfb859a7d /INSTALL.md
parent1d623dba4fffd6de02ad56c74edfa2ac96efbe76 (diff)
downloadgit-deps-39f6c72a63f570615db300ee4b0f334342592c59.tar.gz
solve problem of pip installing wrong pygit2 version
Use workaround from @paulwellnerbou as per https://github.com/paulwellnerbou/git-deps-docker/issues/2#issuecomment-391388657
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 8e7c239..36b7b58 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -53,7 +53,11 @@ This should also automatically install pygit2 as one of its
dependencies. However be aware that this will pick a pygit2 version
based on [`requirements.txt`](requirements.txt) from `git-deps`, which
may not be compatible with the libgit2 you have installed from OS
-packages. Suggestions for workaround to this are welcome!
+packages. This can be fixed by telling `pip install` which version of
+pygit2 you want. For example if you have installed libgit2
+0.24.0, you could do:
+
+ pip install pygit2==0.24 git-deps
## Option 3: Install everything from source