File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ Install pygit2:
161
161
.. code-block :: sh
162
162
163
163
$ export LDFLAGS=" -Wl,-rpath='$LIBGIT2 /lib',--enable-new-dtags $LDFLAGS "
164
+ # on OSX: export LDFLAGS="-Wl,-rpath,'$LIBGIT2/lib' $LDFLAGS"
164
165
$ pip install pygit2
165
166
$ python -c ' import pygit2'
166
167
@@ -197,7 +198,9 @@ Installing on Windows
197
198
`pygit2 ` for Windows is packaged into wheels and can be easily
198
199
installed with `pip `:
199
200
200
- pip install pygit2
201
+ .. code-block :: console
202
+
203
+ pip install pygit2
201
204
202
205
For development it is also possible to build `pygit2 ` with `libgit2 `
203
206
from sources. `libgit2 ` location is specified by the ``LIBGIT2 ``
@@ -238,3 +241,5 @@ XCode and Hombrew are already installed.
238
241
$ brew update
239
242
$ brew install libgit2
240
243
$ pip3 install pygit2
244
+
245
+ To build from a non-Homebrew libgit2 follow the guide in `libgit2 within a virtual environment `_.
You can’t perform that action at this time.
0 commit comments