From e1b0d43cd91d849f16fbcc0369bac4136aaf3049 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Mon, 26 Oct 2015 07:21:20 +0100 Subject: Remove compatibility for Python < 2.7. --- .travis.yml | 1 - docs/source/index.rst | 4 ++-- setup.py | 3 --- tox.ini | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a91279..c71f1fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python python: 2.7 env: - - TOX_ENV=py26 - TOX_ENV=py27 - TOX_env=py32 - TOX_ENV=py33 diff --git a/docs/source/index.rst b/docs/source/index.rst index 5eb76f7..9ebe21e 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -9,7 +9,7 @@ python-sqlparse :mod:`sqlparse` is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting SQL statements. -The module is compatible with Python 2 (>= 2.5) and Python 3 (>= 3.2) +The module is compatible with Python 2.7 and Python 3 (>= 3.2) and released under the terms of the `New BSD license `_. @@ -31,7 +31,7 @@ tl;dr >>> parsed = sqlparse.parse('select * from foo')[0] >>> parsed.tokens [, , >> + >>> Contents diff --git a/setup.py b/setup.py index f4fa4e3..806ddd1 100644 --- a/setup.py +++ b/setup.py @@ -108,9 +108,6 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.4', - 'Programming Language :: Python :: 2.5', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', diff --git a/tox.ini b/tox.ini index 1ced298..6ea52fc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py26,py27,py32,py33,py34,py35,pypy,pypy3 +envlist=py27,py32,py33,py34,py35,pypy,pypy3 [testenv] deps= -- cgit v1.2.1