tenforce python2 in setup - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d318bd91ae59e8dd99db82933e0876e0f2459d73 DIR parent f8e51e332343097c88140978ab97345b00b3888c HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 18 Oct 2015 12:48:53 +0200 enforce python2 in setup Diffstat: M setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- DIR diff --git a/setup.py b/setup.py t@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env/python2 # python setup.py sdist --format=zip,gztar t@@ -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 = []