commit c6870d3421b07a390f0d1b4826210c2ec0f2181f
parent 958a3fa5b633ba145843c2b829751dacb2c72358
Author: thomasv <thomasv@gitorious>
Date: Mon, 21 May 2012 10:35:39 +0200
require version 2.6
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
@@ -4,8 +4,11 @@
from distutils.core import setup
from lib.version import ELECTRUM_VERSION as version
-import os
-
+import os, sys
+if sys.version_info[:3] < (2,6,0):
+ print "Electrum requires Python version >= 2.6.0... exiting"
+ sys.exit(1)
+
data_files=[
('/usr/share/applications/',['electrum.desktop']),