-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
42 lines (34 loc) · 1.1 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
import os
from distutils.command.build import build
from django.core import management
from setuptools import find_packages, setup
try:
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
except:
long_description = ''
class CustomBuild(build):
def run(self):
management.call_command('compilemessages', verbosity=1)
build.run(self)
cmdclass = {
'build': CustomBuild
}
setup(
name='byro-fints',
version='0.0.5',
description='Byro plugin to retrieve bank statements via FinTS 3.0 (formerly known as HBCI)',
long_description=long_description,
url='https://github.com/henryk/byro-fints',
author='Henryk Plötz',
author_email='[email protected]',
license='Apache Software License',
install_requires=['django>=3.1', 'fints==3.1.*', 'schwifty', 'django-securebox', 'django-enumfields==2.1.*'],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
cmdclass=cmdclass,
entry_points="""
[byro.plugin]
byro_fints=byro_fints:ByroPluginMeta
""",
)