diff --git a/Wrapping/Python/PackageUtility/PythonWheelDocker/imagefiles/qt-noninteractive.qs b/Wrapping/Python/PackageUtility/PythonWheelDocker/imagefiles/qt-noninteractive.qs new file mode 100644 index 0000000000..d2564f41ad --- /dev/null +++ b/Wrapping/Python/PackageUtility/PythonWheelDocker/imagefiles/qt-noninteractive.qs @@ -0,0 +1,83 @@ +function Controller() { + installer.autoRejectMessageBoxes(); + installer.installationFinished.connect(function() { + gui.clickButton(buttons.NextButton); + }) +} + +Controller.prototype.WelcomePageCallback = function() { + gui.clickButton(buttons.NextButton, 510000); +} + +Controller.prototype.CredentialsPageCallback = function() { + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.IntroductionPageCallback = function() { + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.TargetDirectoryPageCallback = function() +{ + gui.currentPageWidget().TargetDirectoryLineEdit.setText("/qt"); + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.ComponentSelectionPageCallback = function() { + var widget = gui.currentPageWidget(); + + widget.selectAll(); + widget.deselectComponent('qt.5112.src'); + widget.deselectComponent('qt.qt5.5112.qtvirtualkeyboard'); + widget.deselectComponent('qt.qt5.5112.android_x86'); + + + // widget.deselectAll(); + // widget.selectComponent("qt.594.gcc_64") + // // widget.selectComponent("qt.594.doc") + // // widget.selectComponent("qt.594.examples") + // widget.selectComponent("qt.594.qtcharts") + // widget.selectComponent("qt.594.qtcharts.gcc_64") + // widget.selectComponent("qt.594.qtdatavis3d") + // widget.selectComponent("qt.594.qtdatavis3d.gcc_64") + // widget.selectComponent("qt.594.qtnetworkauth") + // widget.selectComponent("qt.594.qtnetworkauth.gcc_64") + // widget.selectComponent("qt.594.qtpurchasing") + // widget.selectComponent("qt.594.qtpurchasing.gcc_64") + // widget.selectComponent("qt.594.qtremoteobjects") + // widget.selectComponent("qt.594.qtremoteobjects.gcc_64") + // widget.selectComponent("qt.594.qtscript") + // widget.selectComponent("qt.594.qtspeech") + // widget.selectComponent("qt.594.qtspeech.gcc_64") + // widget.selectComponent("qt.594.qtvirtualkeyboard") + // widget.selectComponent("qt.594.qtvirtualkeyboard.gcc_64") + // widget.selectComponent("qt.594.qtwebengine") + // widget.selectComponent("qt.594.qtwebengine.gcc_64") + // // widget.selectComponent("qt.594.src") + // widget.selectComponent("qt.tools.qtcreator") + + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.LicenseAgreementPageCallback = function() { + gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true); + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.StartMenuDirectoryPageCallback = function() { + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.ReadyForInstallationPageCallback = function() +{ + gui.clickButton(buttons.NextButton); +} + +Controller.prototype.FinishedPageCallback = function() { +var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm +if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) { + checkBoxForm.launchQtCreatorCheckBox.checked = false; +} + gui.clickButton(buttons.FinishButton); +} + diff --git a/Wrapping/Python/PackageUtility/UbuntuPackageDocker/PythonDockerfile b/Wrapping/Python/PackageUtility/UbuntuPackageDocker/PythonDockerfile new file mode 100644 index 0000000000..b103b9732e --- /dev/null +++ b/Wrapping/Python/PackageUtility/UbuntuPackageDocker/PythonDockerfile @@ -0,0 +1,32 @@ +FROM ubuntu:16.04 as builder +MAINTAINER Michael +WORKDIR /opt + +# These lines are necessary in order to be able to updates the packages from within the DKFZ Network +ENV http_proxy http://www-int2.dkfz-heidelberg.de:3128/ +ENV https_proxy https://www-int2.dkfz-heidelberg.de:3128/ + +# Basic development tools +RUN apt-get -y update && apt-get -y install \ + git \ + wget \ + libdbus-1-3 \ + patchelf + +# Python development tools +RUN apt-get -y update && apt-get -y install \ + cython \ + python-pip \ + unzip \ + libsundials-serial-dev \ + python3-pip + + +#ENV QT_VERSION_SCRIPT=594 +#COPY files/qt-noninteractive.qs /opt/qt-noninteractive.qs +#RUN wget https://download.qt.io/archive/qt/${QT_VERSION_A}/${QT_VERSION_B}/qt-opensource-linux-x64-${QT_VERSION_B}.run \ +# && chmod +x qt-opensource-linux-x64-${QT_VERSION_B}.run \ +# && ./qt-opensource-linux-x64-${QT_VERSION_B}.run --script /opt/qt-noninteractive.qs -platform minimal --proxy --verbose + +COPY pyMITK.whl /opt/pyMITK.whl +COPY pyMITK2.whl /opt/pyMITK2.whl