Skip to content

Commit

Permalink
Added py.typed in sub-modules confirming to PEP 420 (open-telemetry#3385
Browse files Browse the repository at this point in the history
)

* Added py.typed in sub-modules confirming to PEP 420

* Moved py.typed inside the sub-modules..

* Making environment_variables as well as verison a module.

* Put verion.py and environment_variables.py in their own modules and respective changes in pyproject.toml

* Update opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py

* Update opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py

* Update opentelemetry-api/src/opentelemetry/propagate/__init__.py

---------

Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
  • Loading branch information
rajat315315 and ocelotl authored Jul 10, 2024
1 parent b3ab961 commit 732ea8a
Show file tree
Hide file tree
Showing 51 changed files with 4 additions and 4 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added opentelemetry-api/py.typed
Empty file.
2 changes: 1 addition & 1 deletion opentelemetry-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,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.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added opentelemetry-proto/py.typed
Empty file.
2 changes: 1 addition & 1 deletion opentelemetry-proto/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
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
Empty file added opentelemetry-sdk/py.typed
Empty file.
2 changes: 1 addition & 1 deletion opentelemetry-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,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.
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 @@ -34,7 +34,7 @@ dependencies = [
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.
Empty file.
Empty file.

0 comments on commit 732ea8a

Please sign in to comment.