comparison setup.py @ 6:301673f39ff6 default tip

fix numpy import check
author pmeerw@pan
date Tue, 06 May 2008 22:24:13 +0200
parents 4214d9245f8e
children
comparison
equal deleted inserted replaced
5:b235e08ebd04 6:301673f39ff6
2 from Pyrex.Distutils import build_ext 2 from Pyrex.Distutils import build_ext
3 import sys 3 import sys
4 4
5 try: 5 try:
6 import numpy 6 import numpy
7 except: 7 except ImportError:
8 print 'numpy required but not installed, exit.' 8 print 'numpy required but not installed, exit.'
9 sys.exit(1) 9 sys.exit(1)
10 10
11 numpy_include_dir = numpy.get_include() 11 numpy_include_dir = numpy.get_include()
12 12

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.