Skip to content

Commit 5aa2637

Browse files
authored
Fix package problem: update prg_resources to pkgutil (#28)
* Fix package problem: update prg_resource to pktutil * update History and version * revert version to 0.3.4 * Revert "revert version to 0.3.4" This reverts commit ab13ab4.
1 parent 4b8f867 commit 5aa2637

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
lines changed

README.rst

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Handles multi-API versions of Azure Storage Data Plane originally from https://g
1717

1818
Change Log
1919
----------
20+
0.3.5
21+
+++++
22+
* Fix package problem: update prg_resources to pkgutil
23+
2024
0.3.4
2125
+++++
2226
* Remove __init__.py under azure

azure/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

azure/multiapi/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__import__('pkg_resources').declare_namespace(__name__)
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

azure/multiapi/cosmosdb/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__import__('pkg_resources').declare_namespace(__name__)
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

azure/multiapi/storage/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__import__('pkg_resources').declare_namespace(__name__)
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

azure/multiapi/storagev2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__import__('pkg_resources').declare_namespace(__name__)
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
setup(
3737
name='azure-multiapi-storage',
38-
version='0.3.4',
38+
version='0.3.5',
3939
description='Microsoft Azure Storage Client Library for Python with multi API version support.',
4040
long_description=open('README.rst', 'r').read(),
4141
license='MIT',
@@ -57,7 +57,7 @@
5757
'License :: OSI Approved :: Apache Software License',
5858
],
5959
zip_safe=False,
60-
packages=find_packages(),
60+
packages=find_packages(exclude=["azure"]),
6161
install_requires=[
6262
'azure-common',
6363
'cryptography',

0 commit comments

Comments
 (0)