Skip to content

Commit 17406cc

Browse files
authored
Merge pull request #4 from bunq/feature/pip
Uploaded to PyPi
2 parents eeca577 + 7b6e790 commit 17406cc

File tree

5 files changed

+88
-1
lines changed

5 files changed

+88
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,5 @@ bunq-test.conf
9090
**/tmp
9191
config.json
9292
tests/connectQr.png
93+
.DS_Store
94+
bunq_sdk.egg-info

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include LICENSE
2+
include *.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This SDK is in **beta**. We cannot guarantee constant availability or stability.
2222
Thanks to your feedback we will make improvements on it.
2323

2424
## Installation
25-
TBA
25+
``pip install bunq_sdk --upgrade``
2626

2727
## Usage
2828

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[bdist_wheel]
2+
# This flag says that the code is written to work on both Python 2 and Python
3+
# 3. If at all possible, it is good practice to do this. If you cannot, you
4+
# will need to generate wheels for each Python version that you support.
5+
universal=1

setup.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
"""
2+
A setuptools based setup module.
3+
4+
See:
5+
https://packaging.python.org/en/latest/distributing.html
6+
https://github.com/pypa/sampleproject
7+
"""
8+
9+
# Always prefer setuptools over distutils
10+
from setuptools import setup, find_packages
11+
# To use a consistent encoding
12+
from codecs import open
13+
from os import path
14+
15+
here = path.abspath(path.dirname(__file__))
16+
17+
# Get the long description from the README file
18+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
19+
long_description = f.read()
20+
21+
setup(
22+
name='bunq_sdk',
23+
24+
# Versions should comply with PEP440. For a discussion on single-sourcing
25+
# the version across setup.py and the project code, see
26+
# https://packaging.python.org/en/latest/single_source_version.html
27+
version='0.9.0',
28+
29+
description='bunq Python SDK',
30+
long_description=long_description,
31+
32+
# The project's main homepage.
33+
url='https://github.com/bunq/sdk_python',
34+
35+
# Author details
36+
author='bunq',
37+
author_email='[email protected]',
38+
39+
# The project's license
40+
license='MIT',
41+
42+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
43+
classifiers=[
44+
# How mature is this project? Common values are
45+
# 3 - Alpha
46+
# 4 - Beta
47+
# 5 - Production/Stable
48+
'Development Status :: 4 - Beta',
49+
50+
# Indicate who your project is intended for
51+
'Intended Audience :: Developers',
52+
'Topic :: Software Development :: Build Tools',
53+
54+
# Pick your license as you wish (should match "license" above)
55+
'License :: OSI Approved :: MIT License',
56+
57+
# Specify the Python versions you support here. In particular, ensure
58+
# that you indicate whether you support Python 2, Python 3 or both.
59+
'Programming Language :: Python :: 2.7',
60+
'Programming Language :: Python :: 3',
61+
'Programming Language :: Python :: 3.3',
62+
'Programming Language :: Python :: 3.4',
63+
'Programming Language :: Python :: 3.5',
64+
'Programming Language :: Python :: 3.6',
65+
],
66+
67+
# Keywords related to the project
68+
keywords='open-banking sepa bunq finance api payment',
69+
70+
# Packages of the project. "find_packages()" lists all the project packages.
71+
packages=find_packages(exclude=['contrib', 'docs', 'tests', 'examples',
72+
'assets', '.idea', 'run.py']),
73+
74+
# Run-time dependencies of the project. These will be installed by pip.
75+
install_requires=['aenum==2.0.8', 'chardet==3.0.4', 'pycryptodomex==3.4.6',
76+
'requests==2.18.1', 'simplejson==3.11.1',
77+
'urllib3==1.21.1'],
78+
)

0 commit comments

Comments
 (0)