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):
|
def import_include(module_name):
|
||||||
try:
|
try:
|
||||||
return __import__(module_name, globals(), locals(), [], -1)
|
return __import__(module_name, globals(), locals(), [], 0)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ImportError('Unable to import %s. Create a virtual environment '
|
raise ImportError('Unable to import %s. Create a virtual environment '
|
||||||
'and install all dependencies from requirements.txt, '
|
'and install all dependencies from requirements.txt, '
|
||||||
|
|
Loading…
Reference in New Issue