Changeset 11085
- Timestamp:
- 03/26/07 23:34:54 (2 years ago)
- Files:
-
- branches/1.4/gdal/swig/python/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.4/gdal/swig/python/setup.py
r10433 r11085 28 28 import numpy 29 29 HAVE_NUMPY=True 30 print 'numpy include', get_numpy_include() 31 if get_numpy_include() =='.': 32 print "numpy headers were not found! Array support will not be enabled" 33 HAVE_NUMPY=False 30 numpy_major = numpy.__version__.split('.')[0] 31 if int(numpy_major) < 1: 32 print "numpy version must be > 1.0.0" 33 HAVE_NUMPY = False 34 else: 35 print 'numpy include', get_numpy_include() 36 if get_numpy_include() =='.': 37 print "numpy headers were not found! Array support will not be enabled" 38 HAVE_NUMPY=False 34 39 except ImportError: 35 40 pass
