Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appimage builder #957

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions appimage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
pipx install python-appimage
python-appimage install appimagetool &&
python-appimage install patchelf &&
python-appimage build app -p 3.11 ./appimage
2 changes: 2 additions & 0 deletions appimage/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#! /bin/bash -i
{{ python-executable }} -u "${APPDIR}/opt/python{{ python-version }}/bin/pyinfra" "$@"
17 changes: 17 additions & 0 deletions appimage/pyinfra.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>pyinfra</id>
<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>
<name>Pyinfra</name>
<summary>Pyinfra on Python {{ python-fullversion }}</summary>
<description>
<p> Python {{ python-fullversion }} + Pyinfra bundled in an AppImage.
</p>
</description>
<launchable type="desktop-id">pyinfra.desktop</launchable>
<url type="homepage">https://pyinfra.com</url>
<provides>
<binary>python{{ python-version }}</binary>
</provides>
</component>
8 changes: 8 additions & 0 deletions appimage/pyinfra.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=pyinfra
Exec=pyinfra
Comment=pyinfraon Python {{ python-fullversion }}
Icon=python
Categories=System;
Terminal=true
1 change: 1 addition & 0 deletions appimage/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git+https://github.com/Fizzadar/pyinfra