Skip to content

Commit b8fb1fe

Browse files
Copilotl0lawrence
andcommitted
Fix pyproject.toml issues: add dependencies=[] to azure-common, restrict package discovery for extension packages
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
1 parent 6ad1e0a commit b8fb1fe

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

sdk/core/azure-common/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.9",
2323
"Programming Language :: Python :: 3.10",
2424
]
25+
dependencies = []
2526
dynamic = ["version", "readme"]
2627

2728
[project.urls]

sdk/core/azure-core-experimental/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ version = {attr = "azure.core.experimental._version.VERSION"}
3535
readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"}
3636

3737
[tool.setuptools.packages.find]
38-
exclude = ["tests*", "samples*", "azure"]
38+
include = ["azure.core.experimental*"]
3939

4040
[tool.setuptools.package-data]
4141
pytyped = ["py.typed"]

sdk/core/azure-core-tracing-opentelemetry/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ version = {attr = "azure.core.tracing.ext.opentelemetry_span._version.VERSION"}
3737
readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"}
3838

3939
[tool.setuptools.packages.find]
40-
exclude = ["tests*", "samples*", "azure"]
40+
include = ["azure.core.tracing.ext.opentelemetry_span*"]
4141

4242
[tool.setuptools.package-data]
4343
pytyped = ["py.typed"]

0 commit comments

Comments
 (0)