Skip to content

Commit

Permalink
drop py2 (Azure#22309)
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc authored Jan 5, 2022
1 parent 2407a89 commit 4344aad
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
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
4 changes: 2 additions & 2 deletions scripts/quickstart_tooling_llc/template/dev_requirements.txt
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",
)

0 comments on commit 4344aad

Please sign in to comment.