Skip to content

Application

General metadata of the project

PYAKET_APP_NAME

📦 Type: string • Default: pyaket

The name of the application being built.

Currently only used for identifying • flagging successfull installations and recreating the virtual environment shall the binary hash changes. This is purely useful for iterative development.


PYAKET_APP_AUTHOR

📦 Type: string • Default: brokensource

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

The value is mostly used for dictating the workspace root when dynamic. Centralizes installation paths and caches for a given author, while being independent enough to not interfere with others.


PYAKET_APP_VERSION

📦 Type: string • Default: 0.0.0

The version of the application being built.

Should follow the version of the project to be released alonside a registry itself. Not necessarily a semantic version, can be a codename, branch, latest, etc. Value is added to versions dir, building the full installation path of the venv to be used.

To get the current version in python, use:

from importlib.metadata import version as get_version

version = get_version("package")

Or better yet, if using Hatch

[tool.hatch.version]
path = "package/version.py"

[project]
dynamic = ["version"]

PYAKET_APP_ABOUT

📦 Type: string • Default: No description provided

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


PYAKET_APP_ICON

📦 Type: Path • Default: None