8000 Document Python 2 deprecation (#6910) · googleapis/google-cloud-python@09f84cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 09f84cc

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 06493e6 commit 09f84cc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-translate/README.rst

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

5555

56+
Supported Python Versions
57+
^^^^^^^^^^^^^^^^^^^^^^^^^
58+
Python >= 3.4
59+
60+
Deprecated Python Versions
61+
^^^^^^^^^^^^^^^^^^^^^^^^^^
62+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
63+
64+
5665
Mac/Linux
5766
^^^^^^^^^
5867

packages/google-cloud-translate/setup.py

Lines changed: 2 additions & 0 deletions
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)
0