Skip to content

Commit e598f01

Browse files
Copilotswathipil
andcommitted
Revert azure-storage-nspkg changes and fix repository URL
- Reverted azure-storage-nspkg to use setup.py instead of pyproject.toml - Updated azure-storage-blob-changefeed repository URL to main repo Co-authored-by: swathipil <[email protected]>
1 parent c6ce104 commit e598f01

File tree

3 files changed

+58
-39
lines changed

3 files changed

+58
-39
lines changed

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

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#!/usr/bin/env python
2+
3+
# -------------------------------------------------------------------------
4+
# Copyright (c) Microsoft Corporation. All rights reserved.
5+
# Licensed under the MIT License. See License.txt in the project root for
6+
# license information.
7+
# --------------------------------------------------------------------------
8+
9+
from setuptools import setup
10+
11+
# azure v0.x is not compatible with this package
12+
# azure v0.x used to have a __version__ attribute (newer versions don't)
13+
try:
14+
import azure
15+
16+
try:
17+
ver = azure.__version__
18+
raise Exception(
19+
'This package is incompatible with azure=={}. '.format(ver) +
20+
'Uninstall it with "pip uninstall azure".'
21+
)
22+
except AttributeError:
23+
pass
24+
except ImportError:
25+
pass
26+
27+
setup(
28+
name='azure-storage-nspkg',
29+
version='3.1.0',
30+
description='Microsoft Azure Storage Namespace Package [Internal]',
31+
long_description=open('README.md', 'r').read(),
32+
license='MIT License',
33+
author='Microsoft Corporation',
34+
author_email='[email protected]',
35+
url='https://github.com/Azure/azure-storage-python',
36+
keywords="azure, azure sdk",
37+
classifiers=[
38+
'Development Status :: 5 - Production/Stable',
39+
'Programming Language :: Python',
40+
'Programming Language :: Python :: 2',
41+
'Programming Language :: Python :: 2.7',
42+
'Programming Language :: Python :: 3',
43+
'Programming Language :: Python :: 3.3',
44+
'Programming Language :: Python :: 3.4',
45+
'Programming Language :: Python :: 3.5',
46+
'Programming Language :: Python :: 3.6',
47+
'Programming Language :: Python :: 3.7',
48+
'License :: OSI Approved :: MIT License',
49+
],
50+
zip_safe=False,
51+
packages=[
52+
'azure.storage',
53+
],
54+
install_requires=[
55+
'azure-nspkg>=2.0.0',
56+
]
57+
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
dynamic = ["version", "readme"]
2828

2929
[project.urls]
30-
repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob-changefeed"
30+
repository = "https://github.com/Azure/azure-sdk-for-python"
3131

3232
[tool.setuptools.dynamic]
3333
version = {attr = "azure.storage.blob.changefeed._version.VERSION"}

0 commit comments

Comments
 (0)