changeset 1163:a1fba57f46fa beta

added check for python <2.5 in setup file
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 20 Mar 2011 16:23:48 +0100
parents 76c5b69c1b27
children 4ceced79596b
files setup.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sun Mar 20 16:17:04 2011 +0100
+++ b/setup.py	Sun Mar 20 16:23:48 2011 +0100
@@ -4,6 +4,9 @@
 
 py_version = sys.version_info
 
+if py_version < (2, 5):
+    raise Exception('RhodeCode requires python 2.5 or later')
+
 requirements = [
         "Pylons==1.0.0",
         "WebHelpers>=1.2",