aboutsummaryrefslogtreecommitdiff
path: root/AppImageBuilder.yml
blob: f80d3927164355cb5eae598473613a846966ccf3 (plain) (blame)
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
version: 1
script:
  - rm -rf AppDir  | true
  - mkdir -p AppDir/usr/src
  - cp bech32.py  AppDir/usr/src
  - cp keytree.py  AppDir/usr/src
  - cp setup.py  AppDir/usr/src
  - python3 -m pip install -t AppDir/usr/src/frozen_deps AppDir/usr/src
  - rm -rf AppDir/usr/src/frozen_deps/Cryptodome/SelfTest


AppDir:
  path: ./AppDir

  app_info:
    id: org.ted.keytree
    name: keytree
    icon: utilities-terminal
    version: 0.1.0
    exec: usr/src/keytree.py
    exec_args: $@

  pacman:
    Architecture: x86_64
    include:
      - python
    exclude:
      - perl
      - krb5
      - gdbm
      - gcc-libs
      - openssl
      - libtirpc
      - libnsl
      - libffi
      - expat
      - zlib
      - bzip2

  runtime:
    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.9/site-packages'

AppImage:
  update-information: 'gh-releases-zsync|AppImageCrafters|keytree|latest|python-appimage-*x86_64.AppImage.zsync'
  sign-key: None
  arch: x86_64