mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 10:26:35 +03:00
fix setup.py spacy req string for packaging
Requirement should be `spacy>=2.0.2` instead of `spacy2.0.2`
This commit is contained in:
parent
40638b7cdf
commit
94eac75b7c
|
@ -146,7 +146,7 @@ def list_files(data_dir):
|
||||||
|
|
||||||
def list_requirements(meta):
|
def list_requirements(meta):
|
||||||
parent_package = meta.get('parent_package', 'spacy')
|
parent_package = meta.get('parent_package', 'spacy')
|
||||||
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']
|
||||||
return requirements
|
return requirements
|
||||||
|
|
Loading…
Reference in New Issue
Block a user