mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-26 02:31:36 +03:00
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:
parent
1194320d03
commit
686ffb6085
@ -2,7 +2,6 @@ language: python
|
||||
python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "3.2"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
install:
|
||||
|
@ -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``
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user