From 47bbd0246f7067c115a954f396f5e5523d9fc0a4 Mon Sep 17 00:00:00 2001 From: seankane-msft Date: Tue, 8 Sep 2020 13:29:00 -0700 Subject: [PATCH 1/2] fixed the long description, addition to changelog --- sdk/tables/azure-data-tables/CHANGELOG.md | 5 ++++- sdk/tables/azure-data-tables/setup.py | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sdk/tables/azure-data-tables/CHANGELOG.md b/sdk/tables/azure-data-tables/CHANGELOG.md index 53f73cf90855..03b996b585bd 100644 --- a/sdk/tables/azure-data-tables/CHANGELOG.md +++ b/sdk/tables/azure-data-tables/CHANGELOG.md @@ -1,6 +1,9 @@ # Release History -## 12.0.0b1 (Unreleased) +## 12.0.0b2 (Unreleased) + +## 12.0.0b1 (2020-09-08) +This is the first beta of the `azure-data-tables` client library. The Azure Tables client library can seamlessly target either Azure Table storage or Azure Cosmos DB table service endpoints with no code changes. diff --git a/sdk/tables/azure-data-tables/setup.py b/sdk/tables/azure-data-tables/setup.py index 1651b14ff4cc..a219eb2cf547 100644 --- a/sdk/tables/azure-data-tables/setup.py +++ b/sdk/tables/azure-data-tables/setup.py @@ -43,11 +43,16 @@ if not version: raise RuntimeError('Cannot find version information') +with open("README.md", encoding="utf-8") as f: + README = f.read() +with open("CHANGELOG.md", encoding="utf-8") as f: + CHANGELOG = f.read() + setup( name=PACKAGE_NAME, version=version, description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description='\n\n', + long_description=README + '\n\n' + CHANGELOG, long_description_content_type='text/markdown', license='MIT License', author='Microsoft Corporation', From 4c3490a5f02647a9d8cd73a10564cb5f305738b7 Mon Sep 17 00:00:00 2001 From: seankane-msft Date: Tue, 8 Sep 2020 14:00:53 -0700 Subject: [PATCH 2/2] addresssing izzy's comments --- sdk/tables/azure-data-tables/CHANGELOG.md | 2 -- sdk/tables/azure-data-tables/setup.py | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sdk/tables/azure-data-tables/CHANGELOG.md b/sdk/tables/azure-data-tables/CHANGELOG.md index 03b996b585bd..d754be8bc8af 100644 --- a/sdk/tables/azure-data-tables/CHANGELOG.md +++ b/sdk/tables/azure-data-tables/CHANGELOG.md @@ -1,7 +1,5 @@ # Release History -## 12.0.0b2 (Unreleased) - ## 12.0.0b1 (2020-09-08) This is the first beta of the `azure-data-tables` client library. The Azure Tables client library can seamlessly target either Azure Table storage or Azure Cosmos DB table service endpoints with no code changes. diff --git a/sdk/tables/azure-data-tables/setup.py b/sdk/tables/azure-data-tables/setup.py index a219eb2cf547..95c120a47dd1 100644 --- a/sdk/tables/azure-data-tables/setup.py +++ b/sdk/tables/azure-data-tables/setup.py @@ -44,15 +44,15 @@ raise RuntimeError('Cannot find version information') with open("README.md", encoding="utf-8") as f: - README = f.read() + readme = f.read() with open("CHANGELOG.md", encoding="utf-8") as f: - CHANGELOG = f.read() + changelog = f.read() setup( name=PACKAGE_NAME, version=version, description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), - long_description=README + '\n\n' + CHANGELOG, + long_description=readme + '\n\n' + changelog, long_description_content_type='text/markdown', license='MIT License', author='Microsoft Corporation',