Merge pull request #1674 from twerkmeister/patch-1

fix setup.py spacy req string for packaging
This commit is contained in:
Matthew Honnibal 2017-12-04 14:04:09 +01:00 committed by GitHub
commit f5cae1f598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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