Skip to content

Commit

Permalink
Merge pull request #13 from pisiiki/master
Browse files Browse the repository at this point in the history
Fixed a problem causing setup.py to fail under python3.
  • Loading branch information
nadavbh12 authored Feb 14, 2017
2 parents 6f92f93 + 6e3168b commit 4cb7bd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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)

###########################
Expand Down

0 comments on commit 4cb7bd0

Please sign in to comment.