with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
- run: python -m pip install -U pip wheel coverage codecov
+ run: python -m pip install -U pip coverage codecov
- name: Install Dependencies
run: python -m pip install -Ur requirements.txt pytest pytest-mock
- name: Run tests
Further thanks for improving this library go out to:
Daniel Nowak, Patrick Braune, Mathias Dalheimer, Christopher Grebs, Markus Schindler, and many more.
-License: LGPL
+License: LGPL-3.0.-or-later
--- /dev/null
+[build-system]
+build-backend = "setuptools.build_meta"
+requires = ["setuptools>=77.0"]
+
+[project]
+name = "fints"
+license = "LGPL-3.0-or-later"
+license-files = ["LICENSE.txt"]
+description = "Pure-python FinTS 3.0 (formerly known as HBCI) implementation"
+readme = "README.md"
+authors = [{ name = "Raphael Michel", email = "mail@raphaelmichel.de" }]
+keywords = [
+ "hbci",
+ "banking",
+ "fints",
+]
+classifiers = [
+ "Development Status :: 4 - Beta",
+ "Intended Audience :: Developers",
+ "Intended Audience :: Other Audience",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+]
+requires-python = ">=3.9"
+dependencies = [
+ "bleach",
+ "mt-940",
+ "requests",
+ "sepaxml~=2.1",
+ "enum-tools~=0.12.0",
+]
+dynamic = ["version"]
+
+[project.urls]
+"Homepage" = "https://github.com/raphaelm/python-fints"
+
+[tool.setuptools.dynamic]
+version = { attr = "fints.version" }
+
+[tool.setuptools.packages.find]
+include = ["fints*"]
+++ /dev/null
-from codecs import open
-from os import path
-
-from fints import version
-from setuptools import find_packages, setup
-
-here = path.abspath(path.dirname(__file__))
-
-try:
- # Get the long description from the relevant file
- with open(path.join(here, 'README.md'), encoding='utf-8') as f:
- long_description = f.read()
-except:
- long_description = ''
-
-setup(
- name='fints',
- version=version,
- description='Pure-python FinTS 3.0 (formerly known as HBCI) implementation',
- long_description=long_description,
- long_description_content_type='text/markdown',
- url='https://github.com/raphaelm/python-fints',
- 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.9',
- 'Programming Language :: Python :: 3.10',
- 'Programming Language :: Python :: 3.11',
- 'Programming Language :: Python :: 3.12',
- ],
-
- keywords='hbci banking fints',
- install_requires=[
- 'bleach',
- 'mt-940',
- 'requests',
- 'sepaxml~=2.1',
- 'enum-tools~=0.12.0',
- ],
-
- packages=find_packages(include=['fints', 'fints.*']),
-)