Skip to content

Commit c6ce104

Browse files
Copilotswathipil
andcommitted
Convert azure-storage* packages from setup.py to pyproject.toml
Co-authored-by: swathipil <[email protected]>
1 parent 8ed4f9f commit c6ce104

File tree

12 files changed

+275
-470
lines changed

12 files changed

+275
-470
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.3", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "azure-storage-nspkg"
7+
version = "3.1.0"
8+
authors = [
9+
{name = "Microsoft Corporation", email = "[email protected]"},
10+
]
11+
description = "Microsoft Azure Storage Namespace Package [Internal]"
12+
keywords = ["azure", "azure sdk"]
13+
license = "MIT"
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 2",
18+
"Programming Language :: Python :: 2.7",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.3",
21+
"Programming Language :: Python :: 3.4",
22+
"Programming Language :: Python :: 3.5",
23+
"Programming Language :: Python :: 3.6",
24+
"Programming Language :: Python :: 3.7",
25+
]
26+
dependencies = [
27+
"azure-nspkg>=2.0.0",
28+
]
29+
readme = "README.md"
30+
31+
[project.urls]
32+
repository = "https://github.com/Azure/azure-storage-python"
33+
34+
[tool.setuptools.packages.find]
35+
include = ["azure.storage"]
36+
37+
[tool.azure-sdk-build]
38+
namespace_package = true

sdk/nspkg/azure-storage-nspkg/setup.py

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

sdk/storage/azure-storage-blob-changefeed/pyproject.toml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.3", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "azure-storage-blob-changefeed"
7+
authors = [
8+
{name = "Microsoft Corporation", email = "[email protected]"},
9+
]
10+
description = "Microsoft Azure Storage Blob ChangeFeed Client Library for Python"
11+
keywords = ["azure", "azure sdk"]
12+
requires-python = ">=3.9"
13+
license = "MIT"
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
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+
]
24+
dependencies = [
25+
"azure-storage-blob>=12.19.1,<13.0.0"
26+
]
27+
dynamic = ["version", "readme"]
28+
29+
[project.urls]
30+
repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob-changefeed"
31+
32+
[tool.setuptools.dynamic]
33+
version = {attr = "azure.storage.blob.changefeed._version.VERSION"}
34+
readme = {file = ["README.md"], content-type = "text/markdown"}
35+
36+
[tool.setuptools.packages.find]
37+
include = ["azure.storage.blob.changefeed*"]
38+
39+
[tool.setuptools.package-data]
40+
pytyped = ["py.typed"]
41+
142
[tool.azure-sdk-build]
243
mypy = true
344
pyright = false

sdk/storage/azure-storage-blob-changefeed/setup.py

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

sdk/storage/azure-storage-blob/pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
[build-system]
2+
requires = ["setuptools>=77.0.3", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "azure-storage-blob"
7+
authors = [
8+
{name = "Microsoft Corporation", email = "[email protected]"},
9+
]
10+
description = "Microsoft Azure Blob Storage Client Library for Python"
11+
keywords = ["azure", "azure sdk"]
12+
requires-python = ">=3.9"
13+
license = "MIT"
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
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+
]
24+
dependencies = [
25+
"azure-core>=1.30.0",
26+
"cryptography>=2.1.4",
27+
"typing-extensions>=4.6.0",
28+
"isodate>=0.6.1"
29+
]
30+
dynamic = ["version", "readme"]
31+
32+
[project.optional-dependencies]
33+
aio = [
34+
"azure-core[aio]>=1.30.0",
35+
]
36+
37+
[project.urls]
38+
repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob"
39+
40+
[tool.setuptools.dynamic]
41+
version = {attr = "azure.storage.blob._version.VERSION"}
42+
readme = {file = ["README.md"], content-type = "text/markdown"}
43+
44+
[tool.setuptools.packages.find]
45+
exclude = ["azure", "azure.storage", "tests", "tests.blob", "tests.common"]
46+
47+
[tool.setuptools.package-data]
48+
pytyped = ["py.typed"]
49+
150
[tool.azure-sdk-build]
251
mypy = true
352
pyright = false

sdk/storage/azure-storage-blob/setup.py

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

0 commit comments

Comments
 (0)