summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sms-client/python/onapsmsclient/onapsmsclient/__init__.py6
-rw-r--r--sms-client/python/onapsmsclient/setup.py6
2 files changed, 9 insertions, 3 deletions
diff --git a/sms-client/python/onapsmsclient/onapsmsclient/__init__.py b/sms-client/python/onapsmsclient/onapsmsclient/__init__.py
index 43fa1e6..9f31c3e 100644
--- a/sms-client/python/onapsmsclient/onapsmsclient/__init__.py
+++ b/sms-client/python/onapsmsclient/onapsmsclient/__init__.py
@@ -14,7 +14,11 @@
import requests
import requests.exceptions
-import urlparse
+
+try:
+ from urllib.parse import urlparse
+except ImportError:
+ from urlparse import urlparse
name = "onapsmsclient"
diff --git a/sms-client/python/onapsmsclient/setup.py b/sms-client/python/onapsmsclient/setup.py
index bf5675f..619b0f4 100644
--- a/sms-client/python/onapsmsclient/setup.py
+++ b/sms-client/python/onapsmsclient/setup.py
@@ -23,7 +23,7 @@ setup(
long_description="python-package onapsmsclient client library for using"
" Secret Management Service (SMS) inside ONAP. Refer "
"https://wiki.onap.org/display/DW/Secret+Management+Service for more details.",
- version="0.0.1",
+ version="0.0.2",
url="https://gerrit.onap.org/r/gitweb?p=aaf%2Fsms.git;a=summary",
license="Apache 2",
author="Kiran Kamineni",
@@ -32,9 +32,11 @@ setup(
platforms=["all"],
install_requires=[
'requests>=2.7.0',
+ 'urllib3>=1.22'
],
classifiers=[
"Intended Audience :: Developers",
- "Programming Language :: Python :: 2.7"
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3.6"
]
)