-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
311 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,3 +218,5 @@ fabric.properties | |
*.gz | ||
|
||
build.sh | ||
AppDir | ||
appimage-builder-cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
version: 1 | ||
script: | ||
# Remove any previous build | ||
- rm -rf AppDir | true | ||
# Make usr and icons dirs | ||
- mkdir -p AppDir/usr/{share/{applications/icons},src} | ||
# Copy the python application code into the AppDir | ||
- cp app.py AppDir/usr/src -r | ||
- cp pArm/ AppDir/usr/src/ -r | ||
- cp robot-arm.svg AppDir/usr/share/icons | ||
- cp es.upm.etsisi.parm.desktop AppDir/usr/share/applications | ||
# Install application dependencies | ||
- python3 -m pip install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt | ||
|
||
|
||
AppDir: | ||
path: ./AppDir | ||
|
||
app_info: | ||
id: es.upm.etsisi.parm | ||
name: pArm | ||
icon: utilities-terminal | ||
version: 1.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/app.py $@" | ||
|
||
apt: | ||
arch: amd64 | ||
sources: | ||
- sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse' | ||
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32' | ||
|
||
include: | ||
- python3 | ||
- python3-pyqt5 | ||
- python3-pkg-resources | ||
- qt5-default | ||
- libfreetype6 | ||
- libfontconfig1 | ||
exclude: [] | ||
|
||
runtime: | ||
version: "continuous" | ||
env: | ||
PATH: '${APPDIR}/usr/bin:${PATH}' | ||
# 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.8/site-packages' | ||
# Qt5 LD library path | ||
LD_LIBRARY_PATH: "${APPIMAGE_LIBRARY_PATH}:${APPDIR}/usr/lib:${APPDIR}/lib:${LD_LIBRARY_PATH}" | ||
|
||
test: | ||
fedora: | ||
image: appimagecrafters/tests-env:fedora-30 | ||
command: ./AppRun | ||
use_host_x: true | ||
debian: | ||
image: appimagecrafters/tests-env:debian-stable | ||
command: ./AppRun | ||
use_host_x: true | ||
arch: | ||
image: appimagecrafters/tests-env:archlinux-latest | ||
command: ./AppRun | ||
use_host_x: true | ||
centos: | ||
image: appimagecrafters/tests-env:centos-7 | ||
command: ./AppRun | ||
use_host_x: true | ||
ubuntu: | ||
image: appimagecrafters/tests-env:ubuntu-xenial | ||
command: ./AppRun | ||
use_host_x: true | ||
|
||
AppImage: | ||
update-information: 'gh-releases-zsync|AppImageCrafters|python-appimage-example|latest|python-appimage-*x86_64.AppImage.zsync' | ||
sign-key: None | ||
arch: x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=pArm | ||
Comment=Centro de control del pArm | ||
Icon=robot-arm.svg | ||
Exec=pArm %F | ||
Terminal=false | ||
Categories=Application;Development; | ||
Keywords=Python;Editor;microbit;micro:bit; | ||
StartupWMClass=mu | ||
MimeType=text/x-python3;text/x-python3; |
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.