From b667020e818aaaaed5d9bf9768b061d9bef18133 Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Sun, 13 Dec 2015 23:39:29 +0100 Subject: [PATCH] refactor setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6660bf101..12e8b91f1 100644 --- a/setup.py +++ b/setup.py @@ -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, '