Changeset 2494
- Timestamp:
- 05/11/12 12:22:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/distutils/setupext.py
r2493 r2494 10 10 11 11 ARCHLIBDIR = get_libdir() 12 13 14 def get_numpy(): 15 if sys.platform != "darwin": 16 return 17 import numpy 18 return os.path.join(numpy.__path__[0], "core", "include") 12 19 13 20 class casacorebuild_ext(build_ext.build_ext): … … 87 94 self.library_dirs += [cclibdir] 88 95 96 numpyinc = get_numpy() 97 if numpyinc: 98 self.include_dirs += [numpyinc] 99 89 100 if ccincdir not in self.include_dirs: 90 101 self.include_dirs += [ccincdir]
Note:
See TracChangeset
for help on using the changeset viewer.