Drop Python 3.2 support in favor of Python 3.3 and newer

Python 3.0, 3.1 and 3.2 do not support the u'' string literal syntax at all.
Unicode string literals were introduced in Python 3.3 again.

See http://legacy.python.org/dev/peps/pep-0414/ for more information.
This commit is contained in:
Alessio Sergi 2014-05-23 16:41:14 +02:00
parent 1194320d03
commit 686ffb6085
4 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,6 @@ language: python
python: python:
- "2.6" - "2.6"
- "2.7" - "2.7"
- "3.2"
- "3.3" - "3.3"
- "3.4" - "3.4"
install: install:

View File

@ -27,7 +27,7 @@ It uses the `psutil`_ library to get information from your system.
Requirements Requirements
============ ============
- ``python >= 2.6`` (tested with version 2.6, 2.7, 3.2, 3.3, 3.4) - ``python >= 2.6`` (tested with version 2.6, 2.7, 3.3, 3.4)
- ``psutil >= 2.0.0`` - ``psutil >= 2.0.0``
- ``setuptools`` - ``setuptools``

View File

@ -48,7 +48,7 @@ appname_path = os.path.split(sys.argv[0])[0]
sys_prefix = os.path.realpath(os.path.dirname(appname_path)) sys_prefix = os.path.realpath(os.path.dirname(appname_path))
# PY3? # PY3?
is_py3 = sys.version_info >= (3, 2) is_py3 = sys.version_info >= (3, 3)
# Operating system flag # Operating system flag
# Note: Somes libs depends of OS # Note: Somes libs depends of OS

View File

@ -74,7 +74,6 @@ setup(
'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4' 'Programming Language :: Python :: 3.4'
] ]