Skip to content

Commit 15e34d3

Browse files
Merge pull request #66 from anaconda/fix/setuptools-dynamic-version
2 parents 51b1015 + 72782a5 commit 15e34d3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

anaconda_opentelemetry/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
# __version__.py
66

7-
# DO NOT Change the __SDK_VERSION__ line!!! MUST be "0.0.0.devbuild"!!
7+
# DO NOT edit manually — updated by the update-sdk-version GitHub Actions workflow.
88
__SDK_VERSION__ = "1.1.0"
99
__TELEMETRY_SCHEMA_VERSION__ = "0.4.0"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ dependencies = [
2727

2828
requires-python = ">=3.9"
2929

30+
[tool.setuptools.dynamic]
31+
version = {attr = "anaconda_opentelemetry.__version__.__SDK_VERSION__"}
32+
3033
[tool.setuptools.packages.find]
3134
include = ["anaconda_opentelemetry"]
3235

0 commit comments

Comments
 (0)