diff options
-rw-r--r-- | module/setup.py | 4 |
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: |