Skip to content

Commit 28f46ab

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 350aca2 commit 28f46ab

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-vision/README.rst

+9
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ dependencies.
5959
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
6060

6161

62+
Supported Python Versions
63+
^^^^^^^^^^^^^^^^^^^^^^^^^
64+
Python >= 3.4
65+
66+
Deprecated Python Versions
67+
^^^^^^^^^^^^^^^^^^^^^^^^^^
68+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
69+
70+
6271
Mac/Linux
6372
^^^^^^^^^
6473

packages/google-cloud-vision/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@
6161
'Programming Language :: Python :: 3.4',
6262
'Programming Language :: Python :: 3.5',
6363
'Programming Language :: Python :: 3.6',
64+
'Programming Language :: Python :: 3.7',
6465
'Operating System :: OS Independent',
6566
'Topic :: Internet',
6667
],
6768
platforms='Posix; MacOS X; Windows',
6869
packages=packages,
6970
namespace_packages=namespaces,
7071
install_requires=dependencies,
72+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
7173
include_package_data=True,
7274
zip_safe=False,
7375
)

0 commit comments

Comments
 (0)