340 |
if global_revision == "": global_revision="-2" |
if global_revision == "": global_revision="-2" |
341 |
env.Append(CPPDEFINES = ["SVN_VERSION="+global_revision]) |
env.Append(CPPDEFINES = ["SVN_VERSION="+global_revision]) |
342 |
|
|
343 |
############ numarray (required) ############################### |
############ numpy (required) ############################### |
344 |
|
|
345 |
try: |
try: |
346 |
from numarray import identity |
from numpy import identity |
347 |
except ImportError: |
except ImportError: |
348 |
print "Cannot import numarray, you need to set your PYTHONPATH" |
print "Cannot import numpy, you need to set your PYTHONPATH" |
349 |
sys.exit(1) |
sys.exit(1) |
350 |
|
|
351 |
############ C compiler (required) ############################# |
############ C compiler (required) ############################# |