From 410d1f8966a2c30a1de314dfedf6b50a9e3212dd Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Sun, 18 Sep 2016 12:57:24 +0200 Subject: [PATCH] Add pyside2-uic (executable) and pyside2uic (module) --- Dockerfile-py2.7 | 7 +++++++ Dockerfile-py3.5 | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/Dockerfile-py2.7 b/Dockerfile-py2.7 index e3bc2c20..b937c3f9 100644 --- a/Dockerfile-py2.7 +++ b/Dockerfile-py2.7 @@ -1,5 +1,8 @@ FROM ubuntu:16.04 +# Needed to install pyside2-tools without issues +ENV DEBIAN_FRONTEND noninteractive + RUN apt-get update && \ apt-get install -y \ software-properties-common && \ @@ -12,8 +15,12 @@ RUN apt-get update && \ python-pyqt5 \ python-pyside \ python-pyside2 \ + pyside2-tools \ xvfb +# Make pyside2uic availble for Python 2.x +RUN cp -avr /usr/lib/python3/dist-packages/pyside2uic /usr/local/lib/python2.7/dist-packages + # Nose is the Python test-runner RUN pip install nose nosepipe diff --git a/Dockerfile-py3.5 b/Dockerfile-py3.5 index f4646d55..37f38b0e 100644 --- a/Dockerfile-py3.5 +++ b/Dockerfile-py3.5 @@ -1,5 +1,8 @@ FROM ubuntu:16.04 +# Needed to install pyside2-tools without issues +ENV DEBIAN_FRONTEND noninteractive + RUN apt-get update && \ apt-get install -y \ software-properties-common && \ @@ -12,6 +15,7 @@ RUN apt-get update && \ python3-pyqt5 \ python3-pyside \ python3-pyside2 \ + pyside2-tools \ xvfb # Nose is the Python test-runner