Skip to content

Commit

Permalink
ENH: allow NPY_SEPARATE_COMPILATION to be set to 0 to disallow separa…
Browse files Browse the repository at this point in the history
…te build.
  • Loading branch information
cournape committed Jun 24, 2012
1 parent 699c2f3 commit 9982831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

# Set to True to enable multiple file compilations (experimental)
try:
os.environ['NPY_SEPARATE_COMPILATION']
ENABLE_SEPARATE_COMPILATION = True
val = os.environ['NPY_SEPARATE_COMPILATION']
ENABLE_SEPARATE_COMPILATION = (val != "0")
except KeyError:
ENABLE_SEPARATE_COMPILATION = False

Expand Down

0 comments on commit 9982831

Please sign in to comment.