refactor setup.py

This commit is contained in:
Henning Peters 2015-12-13 23:39:29 +01:00
parent 4f4b1d8f3d
commit b667020e81
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ def generate_cython(root, source):
def import_include(module_name):
try:
return __import__(module_name, globals(), locals(), [], -1)
return __import__(module_name, globals(), locals(), [], 0)
except ImportError:
raise ImportError('Unable to import %s. Create a virtual environment '
'and install all dependencies from requirements.txt, '