Merge pull request #1645 from GreenRiverRUS/fix_default_meta

Fixed spaCy version string in default meta
This commit is contained in:
Ines Montani 2017-11-27 11:58:02 +00:00 committed by GitHub
commit 6362024cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class Language(object):
self._meta.setdefault('lang', self.vocab.lang)
self._meta.setdefault('name', 'model')
self._meta.setdefault('version', '0.0.0')
self._meta.setdefault('spacy_version', about.__version__)
self._meta.setdefault('spacy_version', '>={}'.format(about.__version__))
self._meta.setdefault('description', '')
self._meta.setdefault('author', '')
self._meta.setdefault('email', '')