Skip to content

[Scripts]drop py2 for Quick Start of data-plane codegen #22309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) Microsoft Corporation.

Copyright (c) 2017 Microsoft
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion scripts/quickstart_tooling_llc/template/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include *.md
include {{ folder_first }}/__init__.py
include {{ folder_first }}/{{ folder_second }}/__init__.py
include LICENSE.txt
include LICENSE
recursive-include tests *.py
recursive-include samples *.py *.md
5 changes: 5 additions & 0 deletions scripts/quickstart_tooling_llc/template/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# {{ package_pprint_name }} client library for Python
<!-- write necessary description of service -->

## _Disclaimer_

_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please
refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_

## Getting started

### Installating the package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
../../core/azure-core
../../identity/azure-identity
../../nspkg/{{ folder_first }}-{{ folder_second }}-nspkg
aiohttp>=3.0; python_version >= '3.5'
aiohttp>=3.0;
typing_extensions>=3.7.2
asyncio; python_version >= '3.5'
asyncio;
2 changes: 0 additions & 2 deletions scripts/quickstart_tooling_llc/template/setup.cfg

This file was deleted.

10 changes: 3 additions & 7 deletions scripts/quickstart_tooling_llc/template/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand All @@ -65,8 +64,5 @@
"msrest>=0.6.21",
'six>=1.11.0',
],
extras_require={
":python_version<'3.0'": ["futures", "{{ folder_first }}-{{ folder_second }}-nspkg"],
":python_version<'3.5'": ["typing"],
},
python_requires=">=3.7",
)