From 2d5b2d87180cda888e2a5ba37d96eeee04e9d7ce Mon Sep 17 00:00:00 2001 From: Ian Juma Date: Tue, 28 Mar 2017 16:16:29 +0300 Subject: [PATCH] - fix python 3 issue --- africastalking/AfricasTalkingGateway.py | 5 ----- setup.cfg | 2 +- setup.py | 4 ++-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/africastalking/AfricasTalkingGateway.py b/africastalking/AfricasTalkingGateway.py index 46e4979..1aeadd3 100644 --- a/africastalking/AfricasTalkingGateway.py +++ b/africastalking/AfricasTalkingGateway.py @@ -297,11 +297,6 @@ def sendRequest(self, urlString, data_ = None): else: self.responseCode = resp.status_code - print(resp) - print(data_) - print(resp.status_code) - print(urlString) - response = resp.text if self.Debug: print("Raw response: " + response) diff --git a/setup.cfg b/setup.cfg index 224a779..b88034e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description-file = README.md \ No newline at end of file +description-file = README.md diff --git a/setup.py b/setup.py index 8df01eb..af71f17 100644 --- a/setup.py +++ b/setup.py @@ -13,11 +13,11 @@ description='An Official Python library for communicating with the AfricasTalking REST API', author='Ian Juma', install_requires=[ - 'requests' + 'requests>=2.11.0' ], author_email='ijuma@africastalking.com', url='https://github.com/AfricasTalkingLtd/africastalking-python', - download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/1.6', + download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/1.7', keywords=['ussd', 'voice', 'sms', 'mpesa', 'payments', 'africastalking'], classifiers=[], )