2021-06-10 18:02:11 +03:00
version: 1
script:
# Remove any previous build
2021-06-17 12:14:05 +03:00
- rm -rf /tmp/UDSClientDir | true
2021-06-10 18:02:11 +03:00
# Make usr and icons dirs
2021-06-17 12:14:05 +03:00
- mkdir -p /tmp/UDSClientDir/usr/src
2021-06-10 18:02:11 +03:00
# Copy the python application code into the UDSClientDir
2021-06-17 12:14:05 +03:00
- cp ../src/UDS*.py /tmp/UDSClientDir/usr/src
- cp -r ../src/uds /tmp/UDSClientDir/usr/src
2021-06-10 18:02:11 +03:00
# Remove __pycache__ and .mypy if exists
2021-06-17 12:14:05 +03:00
- rm /tmp/UDSClientDir/usr/src/.mypy_cache -rf 2>&1 > /dev/null
- rm /tmp/UDSClientDir/usr/src/uds/.mypy_cache -rf 2>&1 > /dev/null
- rm /tmp/UDSClientDir/usr/src/__pycache__ -rf 2>&1 > /dev/null
- rm /tmp/UDSClientDir/usr/src/uds/__pycache__ -rf 2>&1 > /dev/null
2021-06-10 18:02:11 +03:00
AppDir:
2021-06-16 19:28:10 +03:00
# On /tmp, that is an ext4 filesystem. On btrfs squashfs complains with "Unrecognised xattr prefix btrfs.compression"
path: /tmp/UDSClientDir
2021-06-10 18:02:11 +03:00
app_info:
id: com.udsenterprise.UDSClient3
name: UDSClient
icon: utilities-terminal
version: 0.0.0
# Set the python executable as entry point
exec: usr/bin/python3
# Set the application main script path as argument. Use '$@' to forward CLI parameters
exec_args: "$APPDIR/usr/src/UDSClient.py $@"
apt:
arch: amd64
sources:
- sourceline: 'deb [arch=amd64] http://ftp.de.debian.org/debian/ bullseye main contrib non-free'
2021-10-15 11:57:43 +03:00
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x648ACFD622F3D138'
2021-06-10 18:02:11 +03:00
include:
- python3
- python3-pkg-resources
- python3-pyqt5
- python3-paramiko
- python3-cryptography
2021-06-19 18:05:12 +03:00
- python3-certifi
2021-06-21 17:54:34 +03:00
- python3-psutil
2021-06-10 18:02:11 +03:00
- freerdp2-x11
2021-06-16 19:28:10 +03:00
- freerdp2-wayland
2021-06-10 18:25:23 +03:00
- x2goclient
2021-06-16 19:28:10 +03:00
- openssh-sftp-server
2021-06-10 18:02:11 +03:00
exclude: []
runtime:
env:
# Set python home
# See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
PYTHONHOME: '${APPDIR}/usr'
# Path to the site-packages dir or other modules dirs
# See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
PYTHONPATH: '${APPDIR}/usr/lib/python3.9/site-packages'
AppImage:
update-information: None
sign-key: None
arch: x86_64