Skip to content

Commit 6bf28df

Browse files
Copilotswathipil
andcommitted
Convert azure-messaging-webpubsubclient from setup.py to pyproject.toml
Co-authored-by: swathipil <[email protected]>
1 parent 0464b09 commit 6bf28df

File tree

2 files changed

+54
-76
lines changed

2 files changed

+54
-76
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
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.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.8",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"License :: OSI Approved :: MIT License",
25+
]
26+
dependencies = [
27+
"isodate>=0.6.1",
28+
"azure-core>=1.26.3",
29+
"websocket-client>=1.6.0",
30+
]
31+
dynamic = ["version", "readme"]
32+
33+
[project.optional-dependencies]
34+
aio = [
35+
"aiohttp>=3.9.3",
36+
]
37+
38+
[project.urls]
39+
repository = "https://github.com/Azure/azure-sdk-for-python.git"
40+
41+
[tool.setuptools.dynamic]
42+
version = {attr = "azure.messaging.webpubsubclient._version.VERSION"}
43+
readme = {file = ["README.md"], content-type = "text/markdown"}
44+
45+
[tool.setuptools.packages.find]
46+
exclude = [
47+
"tests*",
48+
"azure",
49+
"azure.messaging",
50+
]
51+
52+
[tool.setuptools.package-data]
53+
pytyped = ["py.typed"]
54+
155
[tool.azure-sdk-build]
256
pylint = false
357
pyright = false

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

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

0 commit comments

Comments
 (0)