forked from dr-duplo/python-fints-url
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (44 loc) · 1.57 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from setuptools import setup
import setuptools.command.build_py
import sys, os
sys.path.append(os.path.dirname(__file__))
from fints_url import update_bank_info
class UpdateBankInfoCommand(setuptools.command.build_py.build_py):
"""Update Bank Info."""
def run(self):
update_bank_info.update()
class BuildPyCommand(setuptools.command.build_py.build_py):
"""Update bank info for every build."""
def run(self):
self.run_command('update_bank_info')
setuptools.command.build_py.build_py.run(self)
setup(name='fints-url',
version='0.6',
description='FinTS URL Retriever',
long_description='FinTS URL Retriever is a small library to retrieve the FinTS URLs of german banks.',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Topic :: Office/Business :: Financial :: Accounting',
],
keywords='fints url bank german iban code',
url='http://github.com/dr-duplo/python-fints-url',
author='dr-duplo',
author_email='[email protected]',
license='MIT',
packages=['fints_url'],
install_requires=[
'requests', 'lxml', 'schwifty', 'argparse'
],
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose', 'mock', 'argparse'],
entry_points = {
'console_scripts': ['fints-url=fints_url.cli:main'],
},
cmdclass={
'update_bank_info' : UpdateBankInfoCommand,
'build_py': BuildPyCommand
})