Skip to content

Commit

Permalink
BLD: use dynamic version metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jun 25, 2023
1 parent 31b8a32 commit 3f35080
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"

[project]
name = "cmyt"
version = "1.2.1"
description = "A collection of Matplotlib colormaps from the yt project"
authors = [
{ name = "The yt project", email = "yt-dev@python.org" },
Expand All @@ -30,6 +29,7 @@ dependencies = [
"matplotlib>=3.5.0",
"numpy>=1.17.4",
]
dynamic = ["version"]

[project.license]
text = "BSD 3-Clause"
Expand All @@ -43,6 +43,9 @@ Homepage = "https://yt-project.org/"
Source = "https://github.com/yt-project/cmyt/"
Tracker = "https://github.com/yt-project/cmyt/issues"

[tool.setuptools.dynamic]
version = {attr = "cmyt.__version__"}

[tool.setuptools]
license-files = [
"LICENSE",
Expand Down

0 comments on commit 3f35080

Please # to comment.