Ticket #29836: patch-setup.py.diff

File patch-setup.py.diff, 1.1 KB (added by lsinger@…, 13 years ago)

patch file (for this port's files/ directory)

  • setup.py

    old new  
    134134healpix_cxx_inc = healpix_cxx_dir+'/include'
    135135healpix_cxx_lib = healpix_cxx_dir+'/lib'
    136136
    137 if sys.argv[1] != 'sdist':
    138     compile_healpix_cxx(HEALPIX_TARGET)
    139     if not ( isdir(healpix_cxx_dir+'/include') and
    140              isdir(healpix_cxx_dir+'/lib') ):
    141         raise IOError("No include and lib directory : needed for healpy !")
    142 
    143137###############################################
    144138
    145 library_dirs = [healpix_cxx_lib]
    146 include_dirs = [numpy_inc, healpix_cxx_inc]
     139library_dirs = []
     140include_dirs = [numpy_inc]
    147141extra_link = []
    148142
    149143if 'CFITSIO_EXT_PREFIX' in os.environ:
     
    216210      cmdclass = {'build_ext': build_ext},
    217211      ext_modules=[pixel_lib,spht_lib,hfits_lib,
    218212                   Extension("healpy.pshyt", ["pshyt/pshyt."+ext],
    219                              include_dirs = [numpy_inc,healpix_cxx_inc],
     213                             include_dirs = [numpy_inc],
    220214                             libraries = ['psht','gomp','fftpack','c_utils'],
    221215                             library_dirs = library_dirs)
    222216                   ],