Build system working with custom config files so I don't have to customize the script every time!
This commit is contained in:
parent
dd21b21829
commit
236a9c4bc5
7 changed files with 118 additions and 83 deletions
|
@ -10,9 +10,17 @@
|
|||
# SOFTWARE.
|
||||
#
|
||||
|
||||
PYSIDE2_VERSION="5.12.2.1"
|
||||
MAJOR_VERSION="5"
|
||||
PYSIDE_VERSION="5.12.2.1"
|
||||
BUILDS="linux wine"
|
||||
|
||||
[linux.settings]
|
||||
TAG="linux-{VERSION}"
|
||||
|
||||
[wine.settings]
|
||||
TAG="wine-{VERSION}"
|
||||
|
||||
[wine.docker-args]
|
||||
# Arguments for wine builds
|
||||
PYTHON_VERSION="3.10.11"
|
||||
PYINSTALLER_VERSION="6.10.0"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ FROM ubuntu:jammy
|
|||
# Jammy uses python3.10 and not 3.12, which is not compatible with PySide2.
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG PYSIDE2_VERSION=5.15.2.1
|
||||
ARG PYSIDE_VERSION=5.15.2.1
|
||||
|
||||
ENV TZ=Europe/Paris
|
||||
RUN apt-get update
|
||||
|
@ -24,5 +24,5 @@ RUN apt-get -y install make git rpm dh-python \
|
|||
python3 python3-pip python3-stdeb python3-requests python3-packaging python3-pip python3-pytest python3-pytest-cov python3-pytestqt \
|
||||
qml-module-qtquick-controls2 qml-module-qtmultimedia qml-module-qtgraphicaleffects qml-module-qtquick2 qml-module-qtqml-models2 qml-module-qtquick-controls
|
||||
RUN python3 -m pip install -U pip py certifi setuptools wheel # Upgrading packages that need fixes.
|
||||
RUN python3 -m pip install PySide2==$PYSIDE2_VERSION
|
||||
RUN python3 -m pip install PySide2==$PYSIDE_VERSION
|
||||
RUN apt clean
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
FROM ubuntu:noble
|
||||
|
||||
ARG PYSIDE2_VERSION=5.15.2.1
|
||||
ARG PYSIDE_VERSION=5.15.2.1
|
||||
|
||||
# Adapted from https://github.com/cdrx/docker-pyinstaller/blob/master/Dockerfile-py3-win64
|
||||
# Upstream hasn't been updated for a while.
|
||||
|
@ -90,4 +90,4 @@ RUN set -x \
|
|||
RUN apt install -y wget curl p7zip-full git unzip nsis xvfb xdotool wmctrl
|
||||
RUN apt clean
|
||||
# Installing pyside2 & pyinstaller
|
||||
RUN pip install wheel PySide2==$PYSIDE2_VERSION pyinstaller==$PYINSTALLER_VERSION requests pytest pytest-cov pytest-qt packaging
|
||||
RUN pip install wheel PySide2==$PYSIDE_VERSION pyinstaller==$PYINSTALLER_VERSION requests pytest pytest-cov pytest-qt packaging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue