File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -193,25 +193,27 @@ everytime. Verify yourself if curious:
193
193
Installing on Windows
194
194
===================================
195
195
196
- pygit2 expects to find the libgit2 installed files in the directory specified
197
- in the `` LIBGIT2 `` environment variable.
196
+ ` pygit2 ` for Windows is packaged into wheels and can be easily
197
+ installed with ` pip `:
198
198
199
- In addition, make sure that libgit2 is build in "__cdecl" mode.
200
- The following recipe shows you how to do it, assuming you're working
201
- from a bash shell:
199
+ pip install pygit2
200
+
201
+ For development it is also possible to build `pygit2 ` with `libgit2 `
202
+ from sources. `libgit2 ` location is specified by the ``LIBGIT2 ``
203
+ environment variable. `libgit2 ` should be built in "__cdecl" mode.
204
+ The following recipe shows you how to do it from a bash shell:
202
205
203
206
.. code-block :: sh
204
207
205
208
$ export LIBGIT2=C:/Dev/libgit2
206
- $ wget https://github.com/libgit2/libgit2/archive/v0.26.0.tar.gz
207
- $ tar xzf v0.26.0.tar.gz
208
- $ cd libgit2-0.26.0/
209
+ $ git clone --depth=1 -b maint/v0.26 https://github.com/libgit2/libgit2.git
210
+ $ cd libgit2
209
211
$ cmake . -DSTDCALL=OFF -DCMAKE_INSTALL_PREFIX=$LIBGIT2 -G " Visual Studio 9 2008"
210
212
$ cmake --build . --config release --target install
211
213
$ ctest -v
212
214
213
- At this point, you're ready to execute the generic pygit2 installation
214
- steps described above .
215
+ At this point, you're ready to execute the generic ` pygit2 `
216
+ installation steps described at the start of this page .
215
217
216
218
217
219
Installing on OS X
You can’t perform that action at this time.
0 commit comments