This project has been generated using 'A-Python-Template' (APT).
Lots of information regarding AppImage building process and specifications can be found under the AppImage project's GitHub Wiki
- for AppImage recipes refer to: Wiki/AppImages (not maintained)
A detailed comparison of AppImage types is available at the official AppImageSpec repository.
- for
type1(?) refer to: AppImageKit - for
type2refer to: AppImageTool
- AppImage version: type2
- AppImage tool: python-appimage
馃毀
"The python-appimage utility can only package applications that can be installed directly with pip. For more advanced usage, it is necessary to extract and edit the Python AppImage."
馃毀
"Fuse is not supported on Windows Subsystem for Linux v1 (WSL1), which prevents the direct execution of AppImages. However, it is still possible to extract the contents of Python AppImages and use them, as explained in the Advanced installation section."
AppDir directory description can be found at the AppImage project's documentation.
The attached python-appimage (Python-based packaging tool) template contains:
- entrypoint.sh
-
- it defines the main executable to run within the AppImage
- requirements.txt
-
- it defines the (minimum) required packages to build AppImage with
- {project-acronym}.appdata.xml
- this file can be generated with AppStream generator from the AppImage's official documentation.
It defines the basic metadata.
- this file can be generated with AppStream generator from the AppImage's official documentation.
- {project-acronym}.desktop
-
- an AppImage integration details, keywords can be found at the official FreeDesktop's project specification
- {project-acronym}.svg
The final package can be extracted for debugging purposes using ./{project-acronym}-x86_64.AppImage --appimage-extract command in the CLI.
The artifact's internal directory structure should resemble the following:
- AppRun
-
- the entrypoint
- opt
-
- Python dependencies
- other files
-
- assets and other files
python-appimage based project examples may be found at project's github
- Windows
cd "C:\Users\{User}\AppData\Local\Programs\Python\Launcher".\py.exe -3.14 -m venv "{path}/{project-name}/venv-3.14"suggested- everything below
- Linux
python3.14 -m venv {path}/{project-name}/venv-3.14suggested- everything below
cd {path}/{project-name}source venv-3.14/bin/activatepip install --upgrade pippip install .- double check with
which python(Linux) - Update files in
AppImage/Recipedirectory - Build with
python-appimage build app -p 3.14 AppImage/Recipe -x {project-name} - It is important that all dependencies of the app are within one folder. Best practices are covered by the AppImage project's documentation.
