Skip to content

Commit ab0d309

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 8be2b0a commit ab0d309

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
@@ -46,6 +46,15 @@ dependencies.
4646
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
4747

4848

49+
Supported Python Versions
50+
^^^^^^^^^^^^^^^^^^^^^^^^^
51+
Python >= 3.4
52+
53+
Deprecated Python Versions
54+
^^^^^^^^^^^^^^^^^^^^^^^^^^
55+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
56+
57+
4958
Mac/Linux
5059
^^^^^^^^^
5160

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
namespace_packages=namespaces,
8585
install_requires=dependencies,
8686
extras_require=extras,
87+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8788
include_package_data=True,
8889
zip_safe=False,
8990
)

0 commit comments

Comments
 (0)