diff --git a/opentelemetry-distro/pyproject.toml b/opentelemetry-distro/pyproject.toml index 3e8bd201f..487bdb0d5 100644 --- a/opentelemetry-distro/pyproject.toml +++ b/opentelemetry-distro/pyproject.toml @@ -21,16 +21,16 @@ dependencies = [ test = [] [project.entry-points.opentelemetry_configurator] -aws_configurator = "opentelemetry.distro.amazon.aws_opentelemetry_configurator:AwsOpenTelemetryConfigurator" +aws_configurator = "opentelemetry.distro.aws_opentelemetry_configurator:AwsOpenTelemetryConfigurator" [project.entry-points.opentelemetry_distro] -aws_distro = "opentelemetry.distro.amazon.aws_opentelemetry_distro:AwsOpenTelemetryDistro" +aws_distro = "opentelemetry.distro.aws_opentelemetry_distro:AwsOpenTelemetryDistro" [project.urls] Homepage = "https://github.com/aws-observability/aws-otel-python-instrumentation/tree/main/opentelemetry-distro" [tool.hatch.version] -path = "src/opentelemetry/distro/amazon/version.py" +path = "src/amazon/opentelemetry/distro/version.py" [tool.hatch.build.targets.sdist] include = [ @@ -39,4 +39,4 @@ include = [ ] [tool.hatch.build.targets.wheel] -packages = ["src/opentelemetry"] +packages = ["src/amazon/opentelemetry"] diff --git a/opentelemetry-distro/src/opentelemetry/distro/amazon/aws_opentelemetry_configurator.py b/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py similarity index 100% rename from opentelemetry-distro/src/opentelemetry/distro/amazon/aws_opentelemetry_configurator.py rename to opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py diff --git a/opentelemetry-distro/src/opentelemetry/distro/amazon/aws_opentelemetry_distro.py b/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_distro.py similarity index 100% rename from opentelemetry-distro/src/opentelemetry/distro/amazon/aws_opentelemetry_distro.py rename to opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_distro.py diff --git a/opentelemetry-distro/src/opentelemetry/distro/amazon/version.py b/opentelemetry-distro/src/amazon/opentelemetry/distro/version.py similarity index 100% rename from opentelemetry-distro/src/opentelemetry/distro/amazon/version.py rename to opentelemetry-distro/src/amazon/opentelemetry/distro/version.py diff --git a/opentelemetry-distro/tests/opentelemetry/distro/amazon/test_aws_opentelementry_configurator.py b/opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelementry_configurator.py similarity index 87% rename from opentelemetry-distro/tests/opentelemetry/distro/amazon/test_aws_opentelementry_configurator.py rename to opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelementry_configurator.py index 439220abf..aa474928b 100644 --- a/opentelemetry-distro/tests/opentelemetry/distro/amazon/test_aws_opentelementry_configurator.py +++ b/opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelementry_configurator.py @@ -3,7 +3,7 @@ from unittest import TestCase -from opentelemetry.distro.amazon.aws_opentelemetry_configurator import ( +from opentelemetry.distro.aws_opentelemetry_configurator import ( AwsOpenTelemetryConfigurator, AwsTracerProvider, ) diff --git a/opentelemetry-distro/tests/opentelemetry/distro/amazon/test_aws_opentelemetry_distro.py b/opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelemetry_distro.py similarity index 100% rename from opentelemetry-distro/tests/opentelemetry/distro/amazon/test_aws_opentelemetry_distro.py rename to opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_opentelemetry_distro.py