We don't need zlib/libssl
This commit is contained in:
parent
bccf3e1e33
commit
f530917463
@ -16,11 +16,6 @@ You can find platform-specific instructions to build the library in the libgit2
|
|||||||
|
|
||||||
http://libgit2.github.com
|
http://libgit2.github.com
|
||||||
|
|
||||||
Next, make sure you have the required library dependencies for pygit2: OpenSSL and ZLib.
|
|
||||||
For instance, in Debian-based systems run::
|
|
||||||
|
|
||||||
$ sudo apt-get install zlib1g-dev libssl-dev
|
|
||||||
|
|
||||||
Also, make sure you have Python 2.6+ installed together with the Python development headers.
|
Also, make sure you have Python 2.6+ installed together with the Python development headers.
|
||||||
|
|
||||||
When those are installed, you can install pygit2::
|
When those are installed, you can install pygit2::
|
||||||
|
6
setup.py
6
setup.py
@ -37,10 +37,6 @@ except ImportError:
|
|||||||
SETUPTOOLS = False
|
SETUPTOOLS = False
|
||||||
|
|
||||||
# Use environment variable LIBGIT2 to set your own libgit2 configuration.
|
# Use environment variable LIBGIT2 to set your own libgit2 configuration.
|
||||||
libraries = ['git2', 'z', 'crypto']
|
|
||||||
if os.name == 'nt':
|
|
||||||
libraries = ['git2']
|
|
||||||
|
|
||||||
libgit2_path = os.getenv("LIBGIT2")
|
libgit2_path = os.getenv("LIBGIT2")
|
||||||
if libgit2_path is None:
|
if libgit2_path is None:
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
@ -100,6 +96,6 @@ setup(name='pygit2',
|
|||||||
Extension('pygit2', ['pygit2.c'],
|
Extension('pygit2', ['pygit2.c'],
|
||||||
include_dirs=[libgit2_include],
|
include_dirs=[libgit2_include],
|
||||||
library_dirs=[libgit2_lib],
|
library_dirs=[libgit2_lib],
|
||||||
libraries=libraries),
|
libraries=['git2']),
|
||||||
],
|
],
|
||||||
**kwargs)
|
**kwargs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user