import logging
-from fints3.segments.auth import HKIDN, HKSYN, HKVVB
-
from .message import FinTSMessage, FinTSResponse
+from .segments.auth import HKIDN, HKSYN, HKVVB
from .segments.dialog import HKEND
logger = logging.getLogger(__name__)
import random
import re
-from fints3.segments.message import HNHBK, HNHBS, HNSHA, HNSHK, HNVSD, HNVSK
+from .segments.message import HNHBK, HNHBS, HNSHA, HNSHK, HNVSD, HNVSK
class FinTSMessage:
--- /dev/null
+from codecs import open
+from os import path
+
+from setuptools import find_packages, setup
+
+from fints import version
+
+here = path.abspath(path.dirname(__file__))
+
+# Get the long description from the relevant file
+with open(path.join(here, 'README.md'), encoding='utf-8') as f:
+ long_description = f.read()
+
+setup(
+ name='fints',
+ version=version,
+ description='Pure-python FinTS 3.0 (formerly known as HBCI) implementation',
+ long_description=long_description,
+ url='https://github.com/raphaelm/PyFinTS',
+ author='Raphael Michel',
+ author_email='mail@raphaelmichel.de',
+ license='GNU Lesser General Public License v3 (LGPLv3)',
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: Other Audience',
+ 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+ ],
+
+ keywords='hbci banking fints',
+ install_requires=[
+ 'requests', 'mt-940',
+ ],
+
+ packages=find_packages(include=['fints', 'fints.*']),
+)