mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
Also support "requirements" in model.json
This commit is contained in:
parent
307ffe472d
commit
e000b5ed82
|
@ -150,6 +150,8 @@ def list_requirements(meta):
|
|||
requirements = [parent_package + meta['spacy_version']]
|
||||
if 'setup_requires' in meta:
|
||||
requirements += meta['setup_requires']
|
||||
if 'requirements' in meta:
|
||||
requirements += meta['requirements']
|
||||
return requirements
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user