File tree 3 files changed +8
-15
lines changed
3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 1
1
import uuid
2
-
3
- # Due to compatibility requirements, we are importing a class here.
4
- try :
5
- from json import JSONDecodeError
6
- except ImportError :
7
- from simplejson import JSONDecodeError
2
+ from json import JSONDecodeError
3
+ from urllib .parse import urlencode
8
4
9
5
import requests
10
6
11
- from bunq .sdk .json import converter
12
- from bunq .sdk import security
13
7
from bunq .sdk import context
14
8
from bunq .sdk import exception
15
-
16
- try :
17
- from urllib import urlencode
18
- except ImportError :
19
- from urllib .parse import urlencode
9
+ from bunq .sdk import security
10
+ from bunq .sdk .json import converter
20
11
21
12
22
13
class ApiClient (object ):
Original file line number Diff line number Diff line change 2
2
# This flag says that the code is written to work on both Python 2 and Python
3
3
# 3. If at all possible, it is good practice to do this. If you cannot, you
4
4
# will need to generate wheels for each Python version that you support.
5
- universal =1
5
+ universal =0
Original file line number Diff line number Diff line change 56
56
57
57
# Specify the Python versions you support here. In particular, ensure
58
58
# that you indicate whether you support Python 2, Python 3 or both.
59
- 'Programming Language :: Python :: 2.7' ,
60
59
'Programming Language :: Python :: 3' ,
61
60
'Programming Language :: Python :: 3.3' ,
62
61
'Programming Language :: Python :: 3.4' ,
63
62
'Programming Language :: Python :: 3.5' ,
64
63
'Programming Language :: Python :: 3.6' ,
65
64
],
66
65
66
+ # Require Python version equal or more than Python 3.
67
+ python_requires = '>=3' ,
68
+
67
69
# Keywords related to the project
68
70
keywords = 'open-banking sepa bunq finance api payment' ,
69
71
You can’t perform that action at this time.
0 commit comments