From 79d0aa32453d617e05bcfbcf65357e69c5a1519b Mon Sep 17 00:00:00 2001 From: Viktorashi <33178074+viktorashi@users.noreply.github.com> Date: Sun, 10 Sep 2023 06:27:50 +0300 Subject: [PATCH] Update setup.py to fix syntax error while installing --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 82e436e..d2e576d 100644 --- a/setup.py +++ b/setup.py @@ -43,17 +43,17 @@ # Find the right GCC to use if 'CONDA_BUILD' in os.environ: GCC_VERSION = os.environ["PREFIX"] + "/bin/gcc" - print GCC_VERSION + print(GCC_VERSION) else: # If you are NOT in a Conda environment, you MUST ensure that # you have the proper gcc version! GCC_VERSION = "/usr/local/bin/gcc-5" # Use a gcc from Homebrew !! if not os.path.exists(GCC_VERSION): - print "Please install GCC from homebrew wth:" - print " $ brew install gcc" - print "Note that on OSX, /usr/bin/gcc is a link to CLang by default," - print "which will not work. " + print("Please install GCC from homebrew wth:") + print(" $ brew install gcc") + print("Note that on OSX, /usr/bin/gcc is a link to CLang by default,") + print("which will not work. ") sys.exit(1) os.environ["CC"] = GCC_VERSION os.environ["CXX"] = GCC_VERSION