Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

71.53. python3-constantly-23.10.4

Symbolic constants for Python: named, valued and flag constants grouped in containers

23.10.4-1 · MIT · 0.1 SBU · 136.3 KiB, 18 files · 40_lang, 134 of 186 · ports/core/python-libs/python3-constantly

Homepage: https://github.com/twisted/constantly

constantly gives Python symbolic constants: named constants, constants with values, and bit flags, each grouped in a container class. python3-twisted uses them for its log levels and protocol constants.

Depends on: python3, python3-pip, python3-setuptools, python3-versioneer.

Required by (1): python3-twisted.

Sources: python3-constantly-23.10.4.tar.gz (13.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-constantly'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .

Directories: /usr/lib/python3.14/site-packages/constantly, /usr/lib/python3.14/site-packages/constantly-23.10.4.dist-info, /usr/share/licenses/python3-constantly.

setup.py imports versioneer to read the version, so python3-versioneer is in depends. The release archive carries a generated constantly/_version.py that holds the version, so versioneer needs no git metadata and no directory name to find it.