diff --git a/README.rst b/README.rst index f350409..b11919e 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ Notes This README might be slightly outdated. You can help by submitting a pull request. Exception handling --------------- +------------------ The methods of this library might throw client or server errors. An error is an exception coming from the proven diff --git a/orcid/orcid.py b/orcid/orcid.py index 9bd79ff..8557fe5 100644 --- a/orcid/orcid.py +++ b/orcid/orcid.py @@ -1,10 +1,12 @@ """Implementation of python-orcid library.""" -from bs4 import BeautifulSoup -import requests -import simplejson as json +import json import sys -from lxml import etree +from xml.etree import ElementTree as etree + +import requests +from bs4 import BeautifulSoup + if sys.version_info[0] == 2: from urllib import urlencode string_types = basestring, diff --git a/setup.py b/setup.py index 52ebef8..d504cf6 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ def run_tests(self): ], cmdclass={'test': PyTest}, description='A python wrapper over the ORCID API', - install_requires=['html5lib', 'beautifulsoup4', 'requests', 'simplejson', 'lxml'], + install_requires=['html5lib', 'beautifulsoup4', 'requests'], keywords=['orcid', 'api', 'wrapper'], license='BSD', long_description=open('README.rst', 'r').read(),