Load package version from Git tags

This commit is contained in:
Danielle McLean 2023-12-02 13:31:56 +11:00
parent 3eefc351f7
commit 6ac8034bbe
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -1,6 +1,6 @@
[project]
name = "mpd-now-playable"
version = "0.0.1"
dynamic = ["version"]
description = "Expose your MPD server as a 'now playable' app on MacOS"
authors = [
{name = "Danielle McLean", email = "dani@00dani.me"},
@ -24,6 +24,9 @@ lint = 'ruff check src/mpd_now_playable'
typecheck = 'mypy -p mpd_now_playable'
check = {composite = ['lint', 'typecheck']}
[tool.pdm.version]
source = "scm"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"