diff options
author | Determinant <[email protected]> | 2021-01-23 15:42:54 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2021-01-23 15:42:54 -0500 |
commit | 05c608c55d18441711d75e051d1d030794ae5a9d (patch) | |
tree | 7bc3ea8412e66261e46f180493dc96989f21200a | |
parent | 9c6a35e2e44d81610eb054928593c78e19ff201c (diff) |
add portable binary
-rw-r--r-- | AppImageBuilder.yml | 53 | ||||
-rw-r--r-- | README.rst | 5 | ||||
-rwxr-xr-x | keytree-0.1.0-x86_64.AppImage | bin | 0 -> 58492096 bytes | |||
-rw-r--r-- | keytree-0.1.0-x86_64.AppImage.zsync | bin | 0 -> 200156 bytes |
4 files changed, 58 insertions, 0 deletions
diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml new file mode 100644 index 0000000..f80d392 --- /dev/null +++ b/AppImageBuilder.yml @@ -0,0 +1,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 @@ -28,3 +28,8 @@ shipped in this repo (more secure, recommended, only works on x86-64 Linux). If you instead do a normal pip install (``pip3 install --user .``) and use ``keytree.py`` (without ``./`` prefix), it will use the latest deps fetched by pip. + +Portable Binary +--------------- + +Use ``./keytree-0.1.0-x86_64.AppImage`` in place of ``./keytree.py``. diff --git a/keytree-0.1.0-x86_64.AppImage b/keytree-0.1.0-x86_64.AppImage Binary files differnew file mode 100755 index 0000000..9e7aca3 --- /dev/null +++ b/keytree-0.1.0-x86_64.AppImage diff --git a/keytree-0.1.0-x86_64.AppImage.zsync b/keytree-0.1.0-x86_64.AppImage.zsync Binary files differnew file mode 100644 index 0000000..f2ee36e --- /dev/null +++ b/keytree-0.1.0-x86_64.AppImage.zsync |