Switch to side-by-side view

--- a/src/python/recoll/setup.py.in
+++ b/src/python/recoll/setup.py.in
@@ -8,7 +8,7 @@
 library_dirs = [os.path.join(top, 'lib')]
 libraries = ['recoll']
 
-if os.environ.has_key('libdir') and os.environ['libdir'] != "":
+if 'libdir' in os.environ and os.environ['libdir'] != "":
     runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
 else:
     runtime_library_dirs = [os.path.join('@prefix@', 'lib', 'recoll')]
@@ -18,7 +18,7 @@
 try:
     lines = open(localdefs, 'r').readlines()
 except:
-    print 'You need to build recoll first. Use configure --enable-pic'
+    print('You need to build recoll first. Use configure --enable-pic')
     sys.exit(1)
 picok = False
 for line in lines:
@@ -26,7 +26,7 @@
         picok = True
         break
 if not picok:
-    print 'You need to rebuild recoll with PIC enabled. Use configure --enable-pic and make clean'
+    print('You need to rebuild recoll with PIC enabled. Use configure --enable-pic and make clean')
     sys.exit(1)