-
Notifications
You must be signed in to change notification settings - Fork 41
/
AppIMageBuilder.yml
55 lines (48 loc) · 1.71 KB
/
AppIMageBuilder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: 1
script:
- rm -rf AppDir | true
- mkdir -p AppDir/usr/src
- mkdir -p AppDir/share/icons
- cd AppDir/usr/src
- git clone --branch master git://github.com/tomvandeneede/p2pp.git
- cd ../../..
- cp AppDir/usr/src/requirements.txt .
- cp AppDir/usr/src/icon.ico /Appdir/share/icons
- python3 -m pip install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt
AppDir:
path: ./AppDir
app_info:
id: org.tomvandeneede.P2PP
name: P2PP Prusa Slicer Post Processor
icon: /AppDir/usr/share/icons/icon.icn
version: 0.1.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/P2PP $@"
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-pkg-resources
- python3-pyqt5
- 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'
AppImage:
arch: amd64
update-information: 'gh-releases-zsync|AppImageCrafters|python-appimage-example|latest|python-appimage-*x86_64.AppImage.zsync'
sign-key: None