mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Fix spacy requirement constraint in package template
This commit is contained in:
parent
94ad2d66b6
commit
ce458c2428
|
@ -140,7 +140,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