diff --git a/README.rst b/README.rst index bc5e6b980fa1..c719466cfe20 100644 --- a/README.rst +++ b/README.rst @@ -101,7 +101,7 @@ listed before. - azure-mgmt-servicebus 0.1.0 - azure-mgmt-sql 0.2.0 - azure-mgmt-trafficmanager 0.30.0rc6 -- azure-mgmt-web 0.30.1 +- azure-mgmt-web 0.31.0 Usage diff --git a/azure-mgmt-web/HISTORY.rst b/azure-mgmt-web/HISTORY.rst new file mode 100644 index 000000000000..16bf5d284460 --- /dev/null +++ b/azure-mgmt-web/HISTORY.rst @@ -0,0 +1,15 @@ +.. :changelog: + +Release History +=============== + +0.31.1 (2017-02-13) ++++++++++++++++++++ + +* Major refactoring and breaking changes +* New API Version + +0.30.0 (2016-10-17) ++++++++++++++++++++ + +* Initial release diff --git a/azure-mgmt-web/setup.py b/azure-mgmt-web/setup.py index 79e193fccec7..525d4c2b33c9 100644 --- a/azure-mgmt-web/setup.py +++ b/azure-mgmt-web/setup.py @@ -6,8 +6,10 @@ # license information. #-------------------------------------------------------------------------- -from setuptools import setup +from setuptools import find_packages, setup +from io import open import re +import os.path # azure v0.x is not compatible with this package # azure v0.x used to have a __version__ attribute (newer versions don't) @@ -32,11 +34,16 @@ if not version: raise RuntimeError('Cannot find version information') +with open('README.rst', encoding='utf-8') as f: + readme = f.read() +with open('HISTORY.rst', encoding='utf-8') as f: + history = f.read() + setup( name='azure-mgmt-web', version=version, description='Microsoft Azure Web Apps Resource Management Client Library for Python', - long_description=open('README.rst', 'r').read(), + long_description=readme + '\n\n' + history, license='MIT License', author='Microsoft Corporation', author_email='ptvshelp@microsoft.com', @@ -54,16 +61,10 @@ 'License :: OSI Approved :: MIT License', ], zip_safe=False, - packages=[ - 'azure', - 'azure.mgmt', - 'azure.mgmt.web', - 'azure.mgmt.web.models', - 'azure.mgmt.web.operations', - ], + packages=find_packages(), install_requires=[ + 'msrestazure~=0.4.7', 'azure-common~=1.1.4', - 'msrestazure~=0.4.6', 'azure-mgmt-nspkg', ], ) diff --git a/doc/installation.rst b/doc/installation.rst index 538c4b146cce..d9c3fb4818de 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -91,7 +91,7 @@ azure-mgmt-search 0.1.0 azure-mgmt-servicebus 0.1.0 azure-mgmt-sql 0.2.0 azure-mgmt-trafficmanager 0.30.0rc6 -azure-mgmt-web 0.30.1 +azure-mgmt-web 0.31.0 ===================================== ========= Install from Github