Skip to content

Application

General metadata about the application being built.

Name

The name of the application being built.

project.app.name = "Pyaket"
pyaket app --name "Pyaket"
export PYAKET_APP_NAME="Pyaket"

Author

The author's name, group, organization of the application being built.

project.app.author = "BrokenSource"
pyaket app --author "BrokenSource"
export PYAKET_APP_AUTHOR="BrokenSource"

Vendor

Always equal to Author if set, otherwise Name.

This value primarily determines the Workspace Root location when dynamic.

Using an empty Author is a way to isolate each project virtual environment.

  • While not recommended due spamming the user data dir, it works for single banner-less projects. For that, set the python field to None or unset it entirely.

Version

The version of the application being built.

Should follow the same number of the project to be released alonside a registry. Not necessarily a semantic version, can be a codename, branch name, "latest", etc.

project.app.version = "0.0.0"
pyaket app --version 0.0.0
export PYAKET_APP_VERSION="0.0.0"

The value is appended to the Versions Directory to build the virtual environment path.

Projects with the same version and subdirectories shares the same venv!

  • First-class monorepo support with a global versioning scheme.

About

A description of the application, exclusively for metadata or banner purposes.

project.app.about = "No description provided"
pyaket app --about "No description provided"
export PYAKET_APP_ABOUT="No description provided"

Icon

Stub: Not implemented

An image path to use as the application icon.

# Can be Path, str, Image, numpy.
project.app.icon = Path
pyaket app --icon /path/to/icon
# Must be a Path to an icon file
export PYAKET_APP_ICON="/path/to/icon"


Platform support:

Supported via Desktop Entries XDG Specification.

  • Run ./project self desktop to generate one at ~/.local/share/applications/$project.{desktop,png}

Wayland/X11 does not support icons outside .desktop files

No matter what you do, launching outside a desktop entry won't show an icon.

Natively supported and implemented via crates.io/winresource

  • Icon should appear in File Explorer and Task bar.

Not implemented, but seems to be possible.

  • Consider supporting my work or sending Apple hardware for development!