mirror of https://github.com/explosion/spaCy.git
refactor setup.py
This commit is contained in:
parent
4f4b1d8f3d
commit
b667020e81
2
setup.py
2
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, '
|
||||
|
|
Loading…
Reference in New Issue