forked from monofox/python-aqbanking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.57 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (38 loc) · 1.57 KB
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
from setuptools import setup, Extension
# for some more beautiful output:
import os
#os.environ["CC"] = "g++-4.9.2"
#os.environ["CXX"] = "g++-4.9.2"
# retrieve the README
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
module1 = Extension('aqbanking',
libraries = ['gwenhywfar', 'aqbanking', 'gwengui-cpp'],
include_dirs = ['/usr/include/gwenhywfar4', '/usr/include/aqbanking5', '/usr/local/include/gwenhywfar4', '/usr/local/include/aqbanking5'],
# for compiling debug with python debug:
#extra_compile_args=['-O0', '-g', '-Wunused-variable', '-std=gnu++11', '-DPy_DEBUG', '-Wunused-function', '-DDEBUG'],
# for compiling debug without python debug
#extra_compile_args=['-O0', '-g', '-Wunused-variable', '-std=gnu++11', '-Wunused-function', '-DDEBUGSTDERR'],
extra_compile_args=['-Wunused-variable', '-Wunused-function'],
sources = ['aqbanking/pyaqhandler.cpp', 'aqbanking/aqbanking.cpp']
)
setup (
name = 'python-aqbanking',
version = '0.0.3',
description = 'This is a python wrapper for AqBanking',
long_description = read('README.md'),
license = 'GPLv3+',
keywords = 'aqbanking banking hbci financial',
author = 'Lukas Schreiner',
author_email = 'dev@lschreiner.de',
url = 'https://github.com/monofox/python-aqbanking',
ext_modules = [module1],
packages = ['aqbanking'],
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Intended Audience :: Developers',
'Environment :: No Input/Output (Daemon)',
'Programming Language :: Python :: 3 :: Only'
]
)