|
| 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 | + |
| 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