Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eab0af5

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 5d2ff48 commit eab0af5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-websecurityscanner/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ dependencies.
4747
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
4848

4949

50+
Supported Python Versions
51+
~~~~~~~~~~~~~~~~~~~~~~~~~
52+
Python >= 3.4
53+
54+
Deprecated Python Versions
55+
~~~~~~~~~~~~~~~~~~~~~~~~~~
56+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
57+
58+
5059
Mac/Linux
5160
^^^^^^^^^
5261

packages/google-cloud-websecurityscanner/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@
7878
'Programming Language :: Python :: 3.4',
7979
'Programming Language :: Python :: 3.5',
8080
'Programming Language :: Python :: 3.6',
81+
'Programming Language :: Python :: 3.7',
8182
],
8283
platforms='Posix; MacOS X; Windows',
8384
packages=packages,
8485
namespace_packages=namespaces,
8586
install_requires=dependencies,
8687
extras_require=extras,
88+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8789
include_package_data=True,
8890
zip_safe=False,
8991
)

0 commit comments

Comments
 (0)