Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pyside2-uic (executable) and pyside2uic (module) #142

Merged
merged 12 commits into from
Sep 18, 2016
7 changes: 7 additions & 0 deletions Dockerfile-py2.7
Original file line number Diff line number Diff line change
@@ -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 && \
Expand All @@ -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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are the tools installed for Python 3? :O

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really don't know. I asked the author of the pyside2-tools apt package the same thing.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, well that's fine. This solution should work, they're Python 2 compatible at least?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That I don't know yet (but assume so). Let me try it out via tests.


# Nose is the Python test-runner
RUN pip install nose nosepipe

Expand Down
4 changes: 4 additions & 0 deletions Dockerfile-py3.5
Original file line number Diff line number Diff line change
@@ -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 && \
Expand All @@ -12,6 +15,7 @@ RUN apt-get update && \
python3-pyqt5 \
python3-pyside \
python3-pyside2 \
pyside2-tools \
xvfb

# Nose is the Python test-runner
Expand Down