Skip to content

Commit 6efe30d

Browse files
Merge pull request #146 from bunq/feature/sdk_python#107_allow_looser_range_of_dependencies
Updated dependencies, and made them more flexible
2 parents 15cb353 + 04ba1a4 commit 6efe30d

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

setup.py

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,23 @@
6868
keywords='open-banking sepa bunq finance api payment',
6969

7070
# Packages of the project. "find_packages()" lists all the project packages.
71-
packages=find_packages(exclude=['contrib',
72-
'docs',
73-
'tests',
74-
'examples',
75-
'assets',
76-
'.idea',
77-
'run.py']),
71+
packages=find_packages(exclude=[
72+
'contrib',
73+
'docs',
74+
'tests',
75+
'examples',
76+
'assets',
77+
'.idea',
78+
'run.py'
79+
]),
7880

7981
# Run-time dependencies of the project. These will be installed by pip.
80-
install_requires=['aenum==2.2.3',
81-
'chardet==3.0.4',
82-
'pycryptodomex==3.9.7',
83-
'requests==2.23.0',
84-
'simplejson==3.17.0',
85-
'urllib3==1.25.8'],
86-
)
82+
install_requires=[
83+
'aenum>=2.2.4,<3.0.0',
84+
'chardet>=3.0.4,<4.0.0',
85+
'pycryptodomex>=3.9.8,<4.0.0',
86+
'requests>=2.24.0,<3.0.0',
87+
'simplejson>=3.17.2,<4.0.0',
88+
'urllib3>=1.25.10,<2.0.0'
89+
],
90+
)

tests/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ Note:
4646
4. Use the Avatar's UUID to create a `Cash Register`
4747
5. Copy the Cash Register's ID to the `config.json`
4848

49-
## Execution
49+
## Installation and Execution
50+
51+
You can install all the required dependencies with the following command:
52+
53+
python setup.py install
5054

5155
You can run all the tests via command line:
5256

0 commit comments

Comments
 (0)