fromdaniel.feldroy.com16 hours agoTIL: Single source version package builds with uvRemove `version` in `pyproject.toml` and replace with `dynamic = ["version"]`. Add `[tool.setuptools.dynamic]` and specify the location of the version using `version = { attr = "mypackage.__version__" }`.Python