Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 83bd6bc

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 4cb473b commit 83bd6bc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.rst

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

4949

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

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
'Programming Language :: Python :: 3.4',
7676
'Programming Language :: Python :: 3.5',
7777
'Programming Language :: Python :: 3.6',
78+
'Programming Language :: Python :: 3.7',
7879
'Operating System :: OS Independent',
7980
'Topic :: Internet',
8081
],
@@ -83,6 +84,7 @@
8384
namespace_packages=namespaces,
8485
install_requires=dependencies,
8586
extras_require=extras,
87+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8688
include_package_data=True,
8789
zip_safe=False,
8890
)

0 commit comments

Comments
 (0)