Ticket #29836: patch-setup.py.diff
File patch-setup.py.diff, 1.1 KB (added by lsinger@…, 13 years ago) |
---|
-
setup.py
old new 134 134 healpix_cxx_inc = healpix_cxx_dir+'/include' 135 135 healpix_cxx_lib = healpix_cxx_dir+'/lib' 136 136 137 if sys.argv[1] != 'sdist':138 compile_healpix_cxx(HEALPIX_TARGET)139 if not ( isdir(healpix_cxx_dir+'/include') and140 isdir(healpix_cxx_dir+'/lib') ):141 raise IOError("No include and lib directory : needed for healpy !")142 143 137 ############################################### 144 138 145 library_dirs = [ healpix_cxx_lib]146 include_dirs = [numpy_inc , healpix_cxx_inc]139 library_dirs = [] 140 include_dirs = [numpy_inc] 147 141 extra_link = [] 148 142 149 143 if 'CFITSIO_EXT_PREFIX' in os.environ: … … 216 210 cmdclass = {'build_ext': build_ext}, 217 211 ext_modules=[pixel_lib,spht_lib,hfits_lib, 218 212 Extension("healpy.pshyt", ["pshyt/pshyt."+ext], 219 include_dirs = [numpy_inc ,healpix_cxx_inc],213 include_dirs = [numpy_inc], 220 214 libraries = ['psht','gomp','fftpack','c_utils'], 221 215 library_dirs = library_dirs) 222 216 ],