Constants maybe

The _version module is generated and not guaranteed to exist.

When _version is missing, such as after a git clone or within CI/CD, there is no reason to allow this fyi only package info to be the cause of failure

drain_swamp.constants_maybe.__version_app: str

Official app version. Semantic versioning fully supported. So pre and post releases, release candidate, and dev releases are possible

tagged post releases are encouraged. Cuz that means used git rebase to fix a problem at when it originally occured rather than applying the fix and ignoring the past

drain_swamp.constants_maybe.__url__: str

rtd URL to for current tagged version. This is not used for anything. Just here for completeness.

drain_swamp.constants_maybe.__all__: tuple[str, str] = ("__version_app", "__url__")

Module exports

Todo

lookup module

Lookup in pyproject.toml for the dotted path of version file. Then atttempt to import it