Skip to content

Commit 7811e87

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 04a59fb commit 7811e87

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-language/README.rst

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

6262

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

packages/google-cloud-language/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
'Programming Language :: Python :: 3.4',
7777
'Programming Language :: Python :: 3.5',
7878
'Programming Language :: Python :: 3.6',
79+
'Programming Language :: Python :: 3.7',
7980
'Operating System :: OS Independent',
8081
'Topic :: Internet',
8182
],
@@ -84,6 +85,7 @@
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)