Skip to content

Commit 79293ca

Browse files
authored
Merge pull request #228 from AKSW/feature/dependOnManyLinuxPyGit2
Depend on pygit2 manylinux
2 parents 7f6c218 + 99848e8 commit 79293ca

File tree

5 files changed

+1
-30
lines changed

5 files changed

+1
-30
lines changed

.travis.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ addons:
2121
- libssl-dev
2222
- libssh2-1-dev
2323

24-
env: LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib
25-
26-
# install libgit2
27-
before_install:
28-
- "./.travis.sh"
29-
3024
# command to install dependencies
3125
install:
3226
- pip install -U setuptools

Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ RUN apt-get update && apt-get -y install \
1212
libssh2-1-dev \
1313
&& rm -rf /var/lib/apt/lists/*
1414

15-
RUN git clone --depth 1 --branch v0.27.5 https://github.com/libgit2/libgit2.git \
16-
&& cd libgit2 \
17-
&& mkdir build && cd build \
18-
&& cmake .. \
19-
&& cmake --build . --target install \
20-
&& ldconfig \
21-
&& cd ../.. && rm -r libgit2
22-
2315
RUN useradd -md /usr/src/app quit
2416
USER quit
2517
WORKDIR /usr/src/app

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ To get the Quit Store you have three options:
2525

2626
### Installation from Source
2727

28-
Install [libgit2](https://libgit2.github.com/) including the headers (e.g. `libgit2-27` and `libgit2-dev` on ubuntu) which is needed for the pygit2 bindings.
29-
Find out which version of libgit2 you've got on your system and adjust the respective line in the `requirements.txt` of the Quit Store. The minor levels of the versions have to be equal (libgit2 `0.27.4` -> `pygit2==0.27.2`).
30-
3128
Install [pip](https://pypi.python.org/pypi/pip/) and optionally [virtualenv resp. virtualenvwrapper](http://virtualenvwrapper.readthedocs.io/en/latest/install.html) (`pip install virtualenvwrapper`).
3229

3330
Get the Quit Store source code:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
git+https://github.com/white-gecko/rdflib@merge/forQuit#egg=rdflib
22
Flask
33
Flask-Cors
4-
pygit2==0.27.2
4+
pygit2==0.28.0
55
sortedcontainers
66
uritools
77

0 commit comments

Comments
 (0)