mirror of https://github.com/explosion/spaCy.git
Merge pull request #1645 from GreenRiverRUS/fix_default_meta
Fixed spaCy version string in default meta
This commit is contained in:
commit
6362024cf8
|
@ -147,7 +147,7 @@ class Language(object):
|
||||||
self._meta.setdefault('lang', self.vocab.lang)
|
self._meta.setdefault('lang', self.vocab.lang)
|
||||||
self._meta.setdefault('name', 'model')
|
self._meta.setdefault('name', 'model')
|
||||||
self._meta.setdefault('version', '0.0.0')
|
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('description', '')
|
||||||
self._meta.setdefault('author', '')
|
self._meta.setdefault('author', '')
|
||||||
self._meta.setdefault('email', '')
|
self._meta.setdefault('email', '')
|
||||||
|
|
Loading…
Reference in New Issue