Skip to content

Commit

Permalink
Merge pull request #228 from AKSW/feature/dependOnManyLinuxPyGit2
Browse files Browse the repository at this point in the history
Depend on pygit2 manylinux
  • Loading branch information
white-gecko authored Apr 12, 2019
2 parents 7f6c218 + 99848e8 commit 79293ca
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 30 deletions.
12 changes: 0 additions & 12 deletions .travis.sh

This file was deleted.

6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ addons:
- libssl-dev
- libssh2-1-dev

env: LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib

# install libgit2
before_install:
- "./.travis.sh"

# command to install dependencies
install:
- pip install -U setuptools
Expand Down
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ RUN apt-get update && apt-get -y install \
libssh2-1-dev \
&& rm -rf /var/lib/apt/lists/*

RUN git clone --depth 1 --branch v0.27.5 https://github.com/libgit2/libgit2.git \
&& cd libgit2 \
&& mkdir build && cd build \
&& cmake .. \
&& cmake --build . --target install \
&& ldconfig \
&& cd ../.. && rm -r libgit2

RUN useradd -md /usr/src/app quit
USER quit
WORKDIR /usr/src/app
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ To get the Quit Store you have three options:

### Installation from Source

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.
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`).

Install [pip](https://pypi.python.org/pypi/pip/) and optionally [virtualenv resp. virtualenvwrapper](http://virtualenvwrapper.readthedocs.io/en/latest/install.html) (`pip install virtualenvwrapper`).

Get the Quit Store source code:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git+https://github.com/white-gecko/rdflib@merge/forQuit#egg=rdflib
Flask
Flask-Cors
pygit2==0.27.2
pygit2==0.28.0
sortedcontainers
uritools

Expand Down

0 comments on commit 79293ca

Please sign in to comment.