commit d318bd91ae59e8dd99db82933e0876e0f2459d73
parent f8e51e332343097c88140978ab97345b00b3888c
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 18 Oct 2015 12:48:53 +0200
enforce python2 in setup
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env/python2
# python setup.py sdist --format=zip,gztar
@@ -12,8 +12,6 @@ version = imp.load_source('version', 'lib/version.py')
if sys.version_info[:3] < (2, 7, 0):
sys.exit("Error: Electrum requires Python version >= 2.7.0...")
-if sys.version_info[:3] >= (3, 0, 0):
- sys.exit("Error: Electrum requires Python 2")
data_files = []