Skip to content

Commit 3271c9f

Browse files
authored
Merge pull request #246 from AKSW/feature/pyinstallerLinuxDocker
Also use the pyinstaller docker image for linux
2 parents 2609c21 + 279ce27 commit 3271c9f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ script:
4848
- coverage run -a --source=quit tests/test_provenance.py
4949

5050
before_deploy:
51-
- pyinstaller -F quit.spec
52-
- cp dist/run dist/quit-64bit-linux
51+
- docker run -it -v "$(pwd):/src/" cdrx/pyinstaller-linux:python3
52+
- cp dist/linux/run dist/quit-64bit-linux
5353
- git apply requirements.txt.windows.patch
5454
- docker run -it -v "$(pwd):/src/" --entrypoint /bin/sh cdrx/pyinstaller-windows:python3 -c "apt-get update -y && apt-get install -y git && git clone -b merge/forQuit https://github.com/white-gecko/rdflib /wine/drive_c/rdflib && pip install -e /wine/drive_c/rdflib && git clone https://github.com/RDFLib/rdflib-jsonld /wine/drive_c/rdflib-jsonld && pip install -e /wine/drive_c/rdflib-jsonld && /entrypoint.sh"
5555
- cp dist/windows/run.exe dist/quit-64bit-windows.exe

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ uritools
77
git+https://github.com/RDFLib/rdflib-jsonld@master
88

99
uwsgi
10-
pyinstaller>=3.4
1110
pylava

requirements.txt.windows.patch

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ diff --git a/requirements.txt b/requirements.txt
22
index a7db224..d0907a3 100644
33
--- a/requirements.txt
44
+++ b/requirements.txt
5-
@@ -1,11 +1,8 @@
5+
@@ -1,10 +1,7 @@
66
-git+https://github.com/white-gecko/rdflib@merge/forQuit#egg=rdflib
77
Flask
88
Flask-Cors
99
pygit2==0.28.0
1010
sortedcontainers
1111
uritools
1212
-git+https://github.com/RDFLib/rdflib-jsonld@master
13-
13+
1414
-uwsgi
15-
pyinstaller>=3.4
1615
pylava

0 commit comments

Comments
 (0)