Skip to content

Commit 7ecf871

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 5e121ce commit 7ecf871

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,12 @@ common helpers used by all Google API clients. For more information, see the
1212
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-api_core.svg
1313
:target: https://pypi.org/project/google-api_core/
1414
.. _documentation: https://googlecloudplatform.github.io/google-cloud-python/latest/core/
15+
16+
17+
Supported Python Versions
18+
-------------------------
19+
Python >= 3.4
20+
21+
Deprecated Python Versions
22+
--------------------------
23+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
namespace_packages=namespaces,
9494
install_requires=dependencies,
9595
extras_require=extras,
96+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
9697
include_package_data=True,
9798
zip_safe=False,
9899
)

0 commit comments

Comments
 (0)