Skip to content

Commit 9869606

Browse files
Copilotswathipil
andauthored
[WebPubSubClient] Convert azure-messaging-webpubsubclient package from setup.py to pyproject.toml with Python 3.9+ support (#42462)
* Initial plan * Convert azure-messaging-webpubsubclient from setup.py to pyproject.toml Co-authored-by: swathipil <[email protected]> * Apply reviewer feedback: update repository URL, include CHANGELOG.md in readme, and add doc*/stress* exclusions Co-authored-by: swathipil <[email protected]> * Remove MIT License classifier from pyproject.toml as requested Co-authored-by: swathipil <[email protected]> * Add samples* to package exclusions in pyproject.toml Co-authored-by: swathipil <[email protected]> * Update Python version support: drop 3.8, add 3.13, set minimum to 3.9 Co-authored-by: swathipil <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: swathipil <[email protected]>
1 parent a0ef7b2 commit 9869606

File tree

2 files changed

+56
-76
lines changed

2 files changed

+56
-76
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.3", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "azure-messaging-webpubsubclient"
7+
authors = [
8+
{name = "Microsoft Corporation", email = "[email protected]"},
9+
]
10+
description = "Microsoft Azure Web PubSub Client Library for Python"
11+
keywords = ["azure", "azure sdk"]
12+
requires-python = ">=3.9"
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+
"isodate>=0.6.1",
27+
"azure-core>=1.26.3",
28+
"websocket-client>=1.6.0",
29+
]
30+
dynamic = ["version", "readme"]
31+
32+
[project.optional-dependencies]
33+
aio = [
34+
"aiohttp>=3.9.3",
35+
]
36+
37+
[project.urls]
38+
repository = "https://github.com/Azure/azure-sdk-for-python"
39+
40+
[tool.setuptools.dynamic]
41+
version = {attr = "azure.messaging.webpubsubclient._version.VERSION"}
42+
readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"}
43+
44+
[tool.setuptools.packages.find]
45+
exclude = [
46+
"tests*",
47+
"doc*",
48+
"stress*",
49+
"samples*",
50+
"azure",
51+
"azure.messaging",
52+
]
53+
54+
[tool.setuptools.package-data]
55+
pytyped = ["py.typed"]
56+
157
[tool.azure-sdk-build]
258
pylint = false
359
pyright = false

sdk/webpubsub/azure-messaging-webpubsubclient/setup.py

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

0 commit comments

Comments
 (0)