mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Include version constraint in parent package requirement
This commit is contained in:
parent
3b165a8716
commit
6255cb985f
|
@ -370,7 +370,7 @@ def get_meta(
|
||||||
reqs = get_third_party_dependencies(nlp.config, exclude=existing_reqs)
|
reqs = get_third_party_dependencies(nlp.config, exclude=existing_reqs)
|
||||||
meta["requirements"].extend(reqs)
|
meta["requirements"].extend(reqs)
|
||||||
if require_parent and about.__title__ not in meta["requirements"]:
|
if require_parent and about.__title__ not in meta["requirements"]:
|
||||||
meta["requirements"].append(about.__title__)
|
meta["requirements"].append(about.__title__ + meta["spacy_version"])
|
||||||
return meta
|
return meta
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user