Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
3.1.3 Fix package problem (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
arrownj authored Jul 2, 2020
1 parent f585923 commit 7289ce8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Changes in 3.1.3 : ##

- Replace pkg_resource style namespace package with native(Python3) and pkgutil(Python2) style

## Changes in 3.1.2 : ##

- Added suport for connection retry configuration
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
CHANGELOG = f.read()

setup(name='azure-cosmos',
version='3.1.2',
version='3.1.3',
description='Azure Cosmos Python SDK',
long_description=README + "\n\n" + CHANGELOG,
long_description_content_type="text/markdown",
Expand All @@ -34,4 +34,8 @@
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=setuptools.find_packages(exclude=['test', 'test.*']))
packages=setuptools.find_packages(exclude=['test', 'test.*', 'azure']),
extras_require={
':python_version<"3.0"': ['azure-nspkg'],
},
)

0 comments on commit 7289ce8

Please sign in to comment.