Skip to main content

Generate AppImages from your Python projects

Project description

pyproject-appimage

PyPI - License PyPI - Python Version PyPI - Downloads

pyproject-appimage allows you to create a AppImage in a few seconds. To get started, just add this to your pyproject.toml:

[tool.pyproject-appimage]
script = "my-app"
output = "MyApp.AppImage"

script is here the script that should be run when executing the AppImage. You can use the project.scripts section of your pyproject.toml or the entry_points argument of your setup.py to create scripts.

To create a AppImage, just run this command in your project directory:

pyproject-appimage

Pyproject options

The following options can be used in your pyproject.toml:

Option Type Description
script string The script that should be run
output string The filename of your AppImage. Can be overwritten with the cli.
icon string The path to your Icon
rename-icon string Give your Icon another name inside the AppImage
desktop-entry string The path to your .desktop file
rename-desktop-entry string Give your .desktop file another name inside the AppImage
gettext-desktop-entry bool If your .desktop file should be translated using gettest
appstream string The path to your AppStream file
rename-appstream string Give your AppStream file another name inside the AppImage
gettext-appstream bool If your AppStream file should be translated using gettest
gettext-directory string The path to your gettext directory
python-version string The Python version that is used. Default is your current version. Can be overwritten with the cli.
updateinformation string The update information
compression string The Squashfs compression
additional-packages list of strins A list of packages that should also be installed

Note: All paths are relativ to your project directory

Cli options

pyproject-appimage provides the following cli options:

usage: pyproject-appimage [-h] [--output OUTPUT] [--project-dir PROJECT_DIR] [--python-version PYTHON_VERSION] [--appimagekit-url APPIMAGEKIT_URL] [--work-dir WORK_DIR]
                          [--list-available-versions] [--no-fuse] [-v]

options:
  -h, --help            show this help message and exit
  --output OUTPUT       Sets the putput filename
  --project-dir PROJECT_DIR
                        Sets the project dir
  --python-version PYTHON_VERSION
                        Set a custom Python version
  --appimagekit-url APPIMAGEKIT_URL
                        Set a custom download URL for AppImageKit
  --work-dir WORK_DIR   Set a custom directory to work in. Existing Directories will be removed.
  --list-available-versions
                        Print available Python versions and exit
  --no-fuse             Use this, if FUSE is not available e.g. inside a Docker container
  -v, --version         Prints the version and exit

Projects using pyproject-appimage

pyproject-appimage is of course also available as AppImage

pyproject-appimage is based on the work of niess

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyproject_appimage-4.2.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

pyproject_appimage-4.2-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file pyproject_appimage-4.2.tar.gz.

File metadata

  • Download URL: pyproject_appimage-4.2.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for pyproject_appimage-4.2.tar.gz
Algorithm Hash digest
SHA256 6b6387250cb1e6ecbb08a13f5810749396ebe8637f2f35bf2296bfdd5e65cd6e
MD5 c63e19cfb3ee17201ec93adfa227ccbe
BLAKE2b-256 ca796101754870715a367a2ee217258d5f175a96be21027e29b324a8bc6eeacf

See more details on using hashes here.

File details

Details for the file pyproject_appimage-4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyproject_appimage-4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6892643db5759dc06531a4546bdab404a519c63814c060f8749979a8625d9cc
MD5 4fbfc2004e83a29f34f78b586d1c6177
BLAKE2b-256 b8f03c6b0de2ae0ac9f661fff24a4bd67d09d55aa9b849d15705bb2375ac0228

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page