diff --git a/README.rst b/README.rst index 9e72c5e..9333513 100644 --- a/README.rst +++ b/README.rst @@ -16,11 +16,6 @@ You can find platform-specific instructions to build the library in the libgit2 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. When those are installed, you can install pygit2:: diff --git a/setup.py b/setup.py index f604ca0..003aeb6 100644 --- a/setup.py +++ b/setup.py @@ -37,10 +37,6 @@ except ImportError: SETUPTOOLS = False # 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") if libgit2_path is None: if os.name == 'nt': @@ -100,6 +96,6 @@ setup(name='pygit2', Extension('pygit2', ['pygit2.c'], include_dirs=[libgit2_include], library_dirs=[libgit2_lib], - libraries=libraries), + libraries=['git2']), ], **kwargs)