From 2c84cff892458cd9ee0fb697858a4115b67b7f3e Mon Sep 17 00:00:00 2001 From: David Maitland Date: Thu, 13 Aug 2015 14:15:46 +0100 Subject: [PATCH] Changed json to simplejson --- nimvelo/__init__.py | 3 ++- nimvelo/stream/__init__.py | 3 ++- setup.py | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nimvelo/__init__.py b/nimvelo/__init__.py index f0c76bb..32540e3 100644 --- a/nimvelo/__init__.py +++ b/nimvelo/__init__.py @@ -8,10 +8,11 @@ import sys import math import requests -import json import time import logging +import simplejson as json + from stream import Stream logger = logging.getLogger(__name__) diff --git a/nimvelo/stream/__init__.py b/nimvelo/stream/__init__.py index ffb8962..844e4fd 100644 --- a/nimvelo/stream/__init__.py +++ b/nimvelo/stream/__init__.py @@ -7,10 +7,11 @@ import multiprocessing import requests -import json import time import logging +import simplejson as json + logger = logging.getLogger(__name__) diff --git a/setup.py b/setup.py index ac5bdae..ba8b851 100755 --- a/setup.py +++ b/setup.py @@ -11,13 +11,13 @@ from setuptools import setup setup( name='nimvelo', description='Python 2.7 client library for the Nimvelo/Sipcentric API', - version='0.1.3', + version='0.1.4', url='https://github.com/Nimvelo/python-client', author='David Maitland', author_email='david.maitland@nimvelo.com', license='MIT', keywords='nimvelo sipcentric voip pbx sms sip', packages=['nimvelo', 'nimvelo/stream'], - requires=['math', 'json', 'logging', 'time'], + requires=['math', 'json', 'logging', 'time', 'simplejson'], install_requires=['requests'] )