From bac050080ab7ba9d88b339dde41e8dec6c7d8890 Mon Sep 17 00:00:00 2001 From: Chris Wilcox Date: Wed, 12 Dec 2018 13:19:23 -0800 Subject: [PATCH] Announce deprecation of Python 2.7 --- README.rst | 8 ++++++++ setup.py | 2 ++ 2 files changed, 10 insertions(+) diff --git a/README.rst b/README.rst index d9b31f64..3825b5e6 100644 --- a/README.rst +++ b/README.rst @@ -9,6 +9,14 @@ See the `docs`_ for examples and usage. .. _docs: https://googlecloudplatform.github.io/google-resumable-media-python/latest/ +Supported Python Versions +------------------------- +Python >= 3.4 + +Deprecated Python Versions +-------------------------- +Python == 2.7. Python 2.7 support will be removed on January 1, 2020. + License ------- diff --git a/setup.py b/setup.py index db947e4e..49488428 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ zip_safe=False, install_requires=REQUIREMENTS, extras_require=EXTRAS_REQUIRE, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', @@ -60,6 +61,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Internet', ], )