Files
dpy_cache/pyproject.toml
T
dsql 5885839f06 fix: __version__ hardcoded to 0.1.0, drifted from pyproject 0.1.1
__init__.py:14 hardcoded "0.1.0" while pyproject.toml, the README
install pin, and the README changelog all said 0.1.1 - a consumer
gating on __version__ read one release behind the actual tag. Derive
__version__ from installed package metadata
(importlib.metadata.version("dpy_cache")) so the hardcoded literal
can no longer drift from the release tag; keep a fallback literal for
the not-installed/editable case, synced to the current pyproject
version.

Bump 0.1.1 -> 0.1.2.

Signed-off-by: disqualifier <dev@disqualifier.me>
2026-07-03 16:15:48 -04:00

17 lines
428 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "dpy_cache"
version = "0.1.2"
description = "Persist images/files to a Discord storage channel and get durable, re-resolvable CDN references — config-free, injectable, installable."
requires-python = ">=3.10"
dependencies = [
"discord.py>=2.0",
"aiohttp>=3.8",
]
[tool.hatch.build.targets.wheel]
packages = ["src/dpy_cache"]