Skip to content

Commit

Permalink
ENH: handle separate compilation in bento as in setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Jun 24, 2012
1 parent 6e1e61d commit e29dc43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion numpy/core/bscript
Expand Up @@ -30,7 +30,11 @@ from setup_common \
C99_FUNCS_SINGLE, C99_COMPLEX_TYPES, C99_COMPLEX_FUNCS, \
MANDATORY_FUNCS, C_ABI_VERSION, C_API_VERSION

ENABLE_SEPARATE_COMPILATION = False
try:
val = os.environ['NPY_SEPARATE_COMPILATION']
ENABLE_SEPARATE_COMPILATION = (val != "0")
except KeyError:
ENABLE_SEPARATE_COMPILATION = False

NUMPYCONFIG_SYM = []

Expand Down

0 comments on commit e29dc43

Please sign in to comment.