Merge branch 'feature/tidy-up-dependencies' of https://github.com/explosion/spaCy into feature/tidy-up-dependencies

This commit is contained in:
ines 2018-03-29 00:19:37 +02:00
commit e6979bdbbd
5 changed files with 12 additions and 12 deletions

View File

@ -11,5 +11,3 @@ dill>=0.2,<0.3
regex==2017.4.5
pytest>=3.0.6,<4.0.0
mock>=2.0.0,<3.0.0
msgpack-python==0.5.4
msgpack-numpy==0.4.1

View File

@ -194,9 +194,7 @@ def setup_package():
'pathlib',
'ujson>=1.35',
'dill>=0.2,<0.3',
'regex==2017.4.5',
'msgpack-python==0.5.4',
'msgpack-numpy==0.4.1'],
'regex==2017.4.5'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',

View File

@ -8,7 +8,9 @@ cimport numpy as np
import cytoolz
from collections import OrderedDict
import ujson
import msgpack
from .util import msgpack
from .util import msgpack_numpy
from thinc.api import chain
from thinc.v2v import Affine, SELU, Softmax

View File

@ -23,9 +23,10 @@ from .symbols import ORTH
from .compat import cupy, CudaStream, path2str, basestring_, input_, unicode_
from .compat import import_file
import msgpack
import msgpack_numpy
msgpack_numpy.patch()
# Import these directly from Thinc, so that we're sure we always have the
# same version.
from thinc.neural._classes.model import msgpack
from thinc.neural._classes.model import msgpack_numpy
LANGUAGES = {}

View File

@ -3,9 +3,10 @@ from __future__ import unicode_literals
import numpy
from collections import OrderedDict
import msgpack
import msgpack_numpy
msgpack_numpy.patch()
from .util import msgpack
from .util import msgpack_numpy
cimport numpy as np
from thinc.neural.util import get_array_module
from thinc.neural._classes.model import Model