Skip to content

Commit

Permalink
Put verion.py and environment_variables.py in their own modules and r…
Browse files Browse the repository at this point in the history
…espective changes in pyproject.toml
  • Loading branch information
rajat315315 authored and Rajat Jain committed Jul 19, 2023
1 parent 9af7872 commit 752d485
Show file tree
Hide file tree
Showing 21 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ default_tracer_provider = "opentelemetry.trace:NoOpTracerProvider"
Homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-api"

[tool.hatch.version]
path = "src/opentelemetry/version.py"
path = "src/opentelemetry/version/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion opentelemetry-proto/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test = []
Homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-proto"

[tool.hatch.version]
path = "src/opentelemetry/proto/version.py"
path = "src/opentelemetry/proto/version/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ process = "opentelemetry.sdk.resources:ProcessResourceDetector"
Homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-sdk"

[tool.hatch.version]
path = "src/opentelemetry/sdk/version.py"
path = "src/opentelemetry/sdk/version/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion opentelemetry-semantic-conventions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test = []
Homepage = "https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-semantic-conventions"

[tool.hatch.version]
path = "src/opentelemetry/semconv/version.py"
path = "src/opentelemetry/semconv/version/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
Expand Down
Empty file.
Empty file.
Empty file.

0 comments on commit 752d485

Please sign in to comment.