remove ujson as default non-dev dependency (still works as fallback if installed), because ujson doesn't ship wheels

This commit is contained in:
Henning Peters 2016-04-12 11:28:07 +02:00
parent 5f699883dd
commit 6215272786
3 changed files with 4 additions and 3 deletions

View File

@ -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=[

View File

@ -1,7 +1,6 @@
import numpy
import io
import json
import ujson
import random
import re
import os

View File

@ -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: