Skip to content

Commit 97fbed3

Browse files
authored
Merge pull request #662 from powerapi-ng/build/remove-dynamic-version
build(pyproject): Define the `version` attribute as a static field
2 parents 0ec6c06 + d3fdbc0 commit 97fbed3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "README.md"
99
keywords = ["powerapi", "energy", "power-meter", "green-computing"]
1010
license = {text = "BSD-3-Clause"}
1111
requires-python = ">=3.10"
12-
dynamic = ["version"]
12+
version = "2.10.0"
1313

1414
classifiers = [
1515
"Programming Language :: Python :: 3.10",
@@ -74,6 +74,3 @@ dev = [
7474
homepage = "https://powerapi.org"
7575
documentation = "https://powerapi.readthedocs.org"
7676
repository = "https://github.com/powerapi-ng/powerapi"
77-
78-
[tool.setuptools.dynamic]
79-
version = {attr = "powerapi.__version__"}

0 commit comments

Comments
 (0)