From 1ed65ca2b6ee2a00589e945e61cd9650a342c7ab Mon Sep 17 00:00:00 2001 From: scot0357 Date: Thu, 26 Jun 2014 19:42:17 -0400 Subject: [PATCH] Make print statements Python3 compatible The print statements are the Python2 style print statements, changing them to allow for Pyhton3. This is currently breaking pip3 install pybloomfiltermmap with a SyntaxError --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e7e54db..727d5c9 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ sys.argv.remove('--no-cython') raise ImportError() from Cython.Distutils import build_ext - print "info: Building from Cython" + print("info: Building from Cython") ext_files.append("src/pybloomfilter.pyx") kwargs['cmdclass'] = {'build_ext': build_ext} #try: @@ -40,7 +40,7 @@ if '--cython' in sys.argv: raise ext_files.append("src/pybloomfilter.c") - print "info: Building from C" + print("info: Building from C") if '--cython' in sys.argv: sys.argv.remove('--cython')