Skip to content

Commit 6d1b491

Browse files
Copilotswathipil
andcommitted
Convert azure-servicebus from setup.py to pyproject.toml
Co-authored-by: swathipil <[email protected]>
1 parent 362cbb5 commit 6d1b491

File tree

2 files changed

+45
-74
lines changed

2 files changed

+45
-74
lines changed

sdk/servicebus/azure-servicebus/pyproject.toml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.3", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "azure-servicebus"
7+
authors = [
8+
{name = "Microsoft Corporation", email = "[email protected]"},
9+
]
10+
description = "Microsoft Azure Service Bus Client Library for Python"
11+
keywords = ["azure", "azure sdk"]
12+
requires-python = ">=3.8"
13+
license = "MIT"
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 3 :: Only",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
24+
]
25+
dependencies = [
26+
"azure-core>=1.28.0",
27+
"isodate>=0.6.0",
28+
"typing-extensions>=4.6.0",
29+
]
30+
dynamic = ["version", "readme"]
31+
32+
[project.urls]
33+
repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk"
34+
35+
[tool.setuptools.dynamic]
36+
version = {attr = "azure.servicebus._version.VERSION"}
37+
readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"}
38+
39+
[tool.setuptools.packages.find]
40+
exclude = ["samples*", "tests*", "doc*", "stress*", "azure"]
41+
42+
[tool.setuptools.package-data]
43+
"azure.servicebus" = ["py.typed"]
44+
"azure.servicebus.management._generated" = ["py.typed"]
45+
146
[tool.azure-sdk-build]
247
pyright = false
348
type_check_samples = true

sdk/servicebus/azure-servicebus/setup.py

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)