mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +03:00
assert we found the root_dir
This commit is contained in:
parent
783da088ea
commit
0f55e51704
|
@ -26,6 +26,8 @@ def test_build_dependencies(en_vocab):
|
||||||
if lib and lib not in libs_ignore_requirements:
|
if lib and lib not in libs_ignore_requirements:
|
||||||
req_dict[lib] = v
|
req_dict[lib] = v
|
||||||
|
|
||||||
|
assert root_dir is not None, "Could not find the root directory of requirements.txt"
|
||||||
|
|
||||||
# check setup.cfg and compare to requirements.txt
|
# check setup.cfg and compare to requirements.txt
|
||||||
# also fails when there are missing or additional libs
|
# also fails when there are missing or additional libs
|
||||||
setup_file = root_dir / "setup.cfg"
|
setup_file = root_dir / "setup.cfg"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user