mirror of https://github.com/explosion/spaCy.git
Merge pull request #1674 from twerkmeister/patch-1
fix setup.py spacy req string for packaging
This commit is contained in:
commit
f5cae1f598
|
@ -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