- Timestamp:
- Apr 6, 2017 8:15:08 PM (7 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6435594
- Parents:
- ec8886e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
red2276f rf3bf622 53 53 # os.remove(file_path) 54 54 if os.path.exists(SASVIEW_BUILD): 55 print "Removing existing build directory", SASVIEW_BUILD, "for a clean build"55 print("Removing existing build directory", SASVIEW_BUILD, "for a clean build") 56 56 shutil.rmtree(SASVIEW_BUILD) 57 57 … … 74 74 enable_openmp = False 75 75 except: 76 print "PROBLEM determining Darwin version"76 print("PROBLEM determining Darwin version") 77 77 78 78 # Options to enable OpenMP … … 95 95 platform_copt = {'unix' : ['-Wno-error=unused-command-line-argument-hard-error-in-future']} 96 96 except: 97 print "PROBLEM determining Darwin version"97 print("PROBLEM determining Darwin version") 98 98 99 99 class DisableOpenMPCommand(Command): … … 118 118 # Get 64-bitness 119 119 c = self.compiler.compiler_type 120 print "Compiling with %s (64bit=%s)" % (c, str(is_64bits))120 print("Compiling with %s (64bit=%s)" % (c, str(is_64bits))) 121 121 122 122 # OpenMP build options 123 123 if enable_openmp: 124 if c opt.has_key(c):124 if c in copt: 125 125 for e in self.extensions: 126 126 e.extra_compile_args = copt[ c ] 127 if lopt.has_key(c):127 if c in lopt: 128 128 for e in self.extensions: 129 129 e.extra_link_args = lopt[ c ] 130 130 131 131 # Platform-specific build options 132 if platform_lopt.has_key(c):132 if c in platform_lopt: 133 133 for e in self.extensions: 134 134 e.extra_link_args = platform_lopt[ c ] 135 135 136 if platform_copt.has_key(c):136 if c in platform_copt: 137 137 for e in self.extensions: 138 138 e.extra_compile_args = platform_copt[ c ]
Note: See TracChangeset
for help on using the changeset viewer.