mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 02:06:31 +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']]
|
requirements = [parent_package + meta['spacy_version']]
|
||||||
if 'setup_requires' in meta:
|
if 'setup_requires' in meta:
|
||||||
requirements += meta['setup_requires']
|
requirements += meta['setup_requires']
|
||||||
|
if 'requirements' in meta:
|
||||||
|
requirements += meta['requirements']
|
||||||
return requirements
|
return requirements
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user