summaryrefslogtreecommitdiffstats
path: root/module/setup.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-11 20:32:40 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-11 20:32:40 +0100
commit071043b953ba0d6298118f4acd1432733a8f8a27 (patch)
treeb8185afe94a2abf9d946c778d2deaa74f7730e0e /module/setup.py
parentgentoo fix, thanks to jabbas (diff)
downloadpyload-071043b953ba0d6298118f4acd1432733a8f8a27.tar.xz
closed #185
Diffstat (limited to 'module/setup.py')
-rw-r--r--module/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/setup.py b/module/setup.py
index 2c3250dab..8881cf055 100644
--- a/module/setup.py
+++ b/module/setup.py
@@ -179,10 +179,10 @@ class Setup():
python = False
- if sys.version_info > (2, 8):
+ if sys.version_info[:2] > (2, 7):
print _("Your python version is to new, Please use Python 2.6/2.7")
python = False
- elif sys.version_info < (2, 5):
+ elif sys.version_info[:2] < (2, 5):
print _("Your python version is to old, Please use at least Python 2.5")
python = False
else: