Depend on the cffi package
Let both pip and Travis know what we need.
This commit is contained in:
@@ -11,6 +11,7 @@ env: LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install cmake
|
- sudo apt-get install cmake
|
||||||
|
- pip install cffi
|
||||||
- "./.travis.sh"
|
- "./.travis.sh"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
1
setup.py
1
setup.py
@@ -185,6 +185,7 @@ setup(name='pygit2',
|
|||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
packages=['pygit2'],
|
packages=['pygit2'],
|
||||||
package_data={'pygit2': ['decl.h']},
|
package_data={'pygit2': ['decl.h']},
|
||||||
|
install_requires=['cffi'],
|
||||||
ext_modules=[
|
ext_modules=[
|
||||||
Extension('_pygit2', pygit2_exts,
|
Extension('_pygit2', pygit2_exts,
|
||||||
include_dirs=[libgit2_include, 'include'],
|
include_dirs=[libgit2_include, 'include'],
|
||||||
|
Reference in New Issue
Block a user