diff --git a/.buildbot/kivy/Dockerfile b/.buildbot/kivy/Dockerfile index 62c3e36d..db06eee8 100644 --- a/.buildbot/kivy/Dockerfile +++ b/.buildbot/kivy/Dockerfile @@ -1,26 +1,16 @@ # A container for buildbot FROM ubuntu:bionic AS kivy -# FROM ubuntu:20.04 AS buildbot-bionic ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -RUN apt-get -y install sudo - -RUN apt-get install -yq python-setuptools \ - python-setuptools libssl-dev libpq-dev python-prctl python-dev \ - python-virtualenv python-pip virtualenv \ - libjpeg-dev zlib1g-dev python3-dev \ - python3-virtualenv \ - python3-pip \ - wget \ - build-essential libcap-dev libmtdev-dev xvfb xclip git python3-opencv +RUN apt-get install -yq \ + build-essential libcap-dev libssl-dev \ + libmtdev-dev libpq-dev \ + python3-dev python3-pip python3-virtualenv \ + xvfb RUN ln -sf /usr/bin/python3 /usr/bin/python -RUN pip3 install Cython Pillow pyzbar telenium - RUN pip3 install --upgrade setuptools pip - -RUN pip3 install -e git+https://github.com/kivymd/KivyMD#egg=kivymd diff --git a/.buildbot/kivy/build.sh b/.buildbot/kivy/build.sh index f07e5756..afd6b81a 100755 --- a/.buildbot/kivy/build.sh +++ b/.buildbot/kivy/build.sh @@ -1,3 +1,5 @@ #!/bin/sh -python setup.py install --user +pip3 install -r kivy-requirements.txt + +pip3 install . diff --git a/.buildbot/kivy/test.sh b/.buildbot/kivy/test.sh index caccbb9d..d01ca870 100755 --- a/.buildbot/kivy/test.sh +++ b/.buildbot/kivy/test.sh @@ -1,3 +1,3 @@ #!/bin/bash -xvfb-run python tests-kivy.py +xvfb-run python3 tests-kivy.py diff --git a/kivy-requirements.txt b/kivy-requirements.txt index 8d506a5d..c460561b 100644 --- a/kivy-requirements.txt +++ b/kivy-requirements.txt @@ -1,5 +1,5 @@ kivy-garden.qrcode --e git+https://github.com/kivymd/KivyMD#egg=kivymd +https://github.com/kivymd/KivyMD/archive/master.zip opencv-python pyzbar -telenium \ No newline at end of file +telenium