summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2014-05-23 16:41:14 +0200
committerAlessio Sergi <al3hex@gmail.com>2014-05-23 16:41:14 +0200
commit686ffb6085653326ba882103e338e805818662e0 (patch)
treed81c126280e53ee72f472410b84187cea2727b8b
parent1194320d03d8f759849cb2167c23af6d1beb6eee (diff)
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.
-rw-r--r--.travis.yml1
-rw-r--r--README.rst2
-rw-r--r--glances/core/glances_globals.py2
-rwxr-xr-xsetup.py1
4 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index b7981a23..f8cf6ea4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,6 @@ language: python
python:
- "2.6"
- "2.7"
- - "3.2"
- "3.3"
- "3.4"
install:
diff --git a/README.rst b/README.rst
index 5ee0fa0a..24f3a157 100644
--- a/README.rst
+++ b/README.rst
@@ -27,7 +27,7 @@ It uses the `psutil`_ library to get information from your system.
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``
- ``setuptools``
diff --git a/glances/core/glances_globals.py b/glances/core/glances_globals.py
index 55ceaac7..732cd6b3 100644
--- a/glances/core/glances_globals.py
+++ b/glances/core/glances_globals.py
@@ -48,7 +48,7 @@ appname_path = os.path.split(sys.argv[0])[0]
sys_prefix = os.path.realpath(os.path.dirname(appname_path))
# PY3?
-is_py3 = sys.version_info >= (3, 2)
+is_py3 = sys.version_info >= (3, 3)
# Operating system flag
# Note: Somes libs depends of OS
diff --git a/setup.py b/setup.py
index 2d985ef0..9ae8e7ff 100755
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,6 @@ setup(
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
]