From ffe22e598ed41bb10f9adda639ab7af9a8e2a31a Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Thu, 19 Oct 2017 19:39:40 -0400 Subject: [PATCH] Drop python 2 support --- .travis.yml | 1 - README.rst | 2 +- docs/guide/install.txt | 2 +- setup.py | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d68c4c679..2bd24b566 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ sudo: false language: python python: - - "2.7" - "3.4" - "3.5" - "3.6" diff --git a/README.rst b/README.rst index 30a63e65a..251470fcc 100644 --- a/README.rst +++ b/README.rst @@ -19,7 +19,7 @@ Full documentation on `read the docs`_. Requirements ------------ -* **Python**: 2.7, 3.4, 3.5, 3.6 +* **Python**: 3.4, 3.5, 3.6 * **Django**: 1.11, 2.0b * **DRF**: 3.7 diff --git a/docs/guide/install.txt b/docs/guide/install.txt index 88bb315eb..c494cd06f 100644 --- a/docs/guide/install.txt +++ b/docs/guide/install.txt @@ -29,6 +29,6 @@ __ http://www.django-rest-framework.org/ -* **Python**: 2.7, 3.4, 3.5, 3.6 +* **Python**: 3.4, 3.5, 3.6 * **Django**: 1.11, 2.0b * **DRF**: 3.7 diff --git a/setup.py b/setup.py index c61d500a6..d939cdfa2 100644 --- a/setup.py +++ b/setup.py @@ -45,8 +45,6 @@ 'Framework :: Django', 'Framework :: Django :: 1.11', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5',