From 6e3168b4e2ef33a71cfd1a6078da8ca9a802eb1e Mon Sep 17 00:00:00 2001 From: Isaac Lascasas Date: Tue, 14 Feb 2017 22:38:20 +0100 Subject: [PATCH] Fixed a problem causing setup.py to fail under python3. --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e153f94..d9a368a 100644 --- a/setup.py +++ b/setup.py @@ -14,8 +14,8 @@ def run_cmake(): if ds.find_executable('cmake') is None: - print "CMake is required to build RLE" - print "Please install cmake version >= 3.02 and re-run setup" + print("CMake is required to build RLE") + print("Please install cmake version >= 3.02 and re-run setup") sys.exit(-1) new_dir = op.join(op.split(__file__)[0], 'build') @@ -28,7 +28,7 @@ def run_cmake(): ds.spawn(['cmake', '..'] + cmake_args.split()) ds.spawn(['make', '-j', str(cores_to_use)]) except ds.DistutilsExecError: - print "Error while running cmake" + print("Error while running cmake") sys.exit(-1) ###########################