Skip to content

Commit

Permalink
cleanup [#20]
Browse files Browse the repository at this point in the history
  • Loading branch information
dnl-blkv committed Sep 4, 2017
1 parent 0d18aae commit ee78680
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
17 changes: 4 additions & 13 deletions bunq/sdk/client.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
import uuid

# Due to compatibility requirements, we are importing a class here.
try:
from json import JSONDecodeError
except ImportError:
from simplejson import JSONDecodeError
from json import JSONDecodeError
from urllib.parse import urlencode

import requests

from bunq.sdk.json import converter
from bunq.sdk import security
from bunq.sdk import context
from bunq.sdk import exception

try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode
from bunq.sdk import security
from bunq.sdk.json import converter


class ApiClient(object):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
universal=0
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],

# Require Python version equal or more than Python 3.
python_requires='>=3',

# Keywords related to the project
keywords='open-banking sepa bunq finance api payment',

Expand Down

0 comments on commit ee78680

Please sign in to comment.