aboutsummaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index c81de83..0433d7f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -29,6 +29,9 @@ def run_tests():
_fiddle_with_pythonpath()
SConscript('test/SConscript')
+if sys.version_info < (2, 6):
+ sys.exit('ERROR: pyexiv2 requires Python ≥ 2.6. Exiting.')
+
if not BUILD_TARGETS:
# Default target: lib
build_lib()