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:
Thomas Werkmeister 2017-12-03 04:16:28 -06:00 committed by GitHub
parent 40638b7cdf
commit 94eac75b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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