Announce deprecation of Python 2.7
diff --git a/README.md b/README.md index e76f903..829e4a3 100644 --- a/README.md +++ b/README.md
@@ -21,8 +21,11 @@ See the [Developers Guide](https://developers.google.com/api-client-library/python/start/get_started) for more detailed instructions and additional documentation. -# Python Version -Python 2.7, 3.4, 3.5, and 3.6 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions. +# Supported Python Versions +Python 3.4, 3.5, 3.6 and 3.7 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions + +# Deprecated Python Versions +Python == 2.7 # Third Party Libraries and Dependencies The following libraries will be installed when you install the client library:
diff --git a/setup.py b/setup.py index 3575690..89c32a9 100644 --- a/setup.py +++ b/setup.py
@@ -25,8 +25,8 @@ print('google-api-python-client requires python version >= 2.7.', file=sys.stderr) sys.exit(1) -if (3, 1) <= sys.version_info < (3, 3): - print('google-api-python-client requires python3 version >= 3.3.', +if (3, 1) <= sys.version_info < (3, 4): + print('google-api-python-client requires python3 version >= 3.4.', file=sys.stderr) sys.exit(1) @@ -60,6 +60,7 @@ author="Google Inc.", url="http://github.com/google/google-api-python-client/", install_requires=install_requires, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', packages=packages, package_data={}, license="Apache 2.0", @@ -68,7 +69,6 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6',