mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
remove ujson as default non-dev dependency (still works as fallback if installed), because ujson doesn't ship wheels
This commit is contained in:
parent
5f699883dd
commit
6215272786
1
setup.py
1
setup.py
|
@ -193,7 +193,6 @@ def setup_package():
|
|||
'thinc>=5.0.0,<5.1.0',
|
||||
'plac',
|
||||
'six',
|
||||
'ujson',
|
||||
'cloudpickle',
|
||||
'sputnik>=0.9.2,<0.10.0'],
|
||||
classifiers=[
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import numpy
|
||||
import io
|
||||
import json
|
||||
import ujson
|
||||
import random
|
||||
import re
|
||||
import os
|
||||
|
|
|
@ -10,7 +10,10 @@ from preshed.maps cimport map_iter, key_t
|
|||
|
||||
from .typedefs cimport hash_t
|
||||
|
||||
import ujson as json
|
||||
try:
|
||||
import ujson as json
|
||||
except ImportError:
|
||||
import json
|
||||
|
||||
|
||||
cpdef hash_t hash_string(unicode string) except 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user