comparison setup.py @ 7:829eb62755b0

First cut at an HSBC (USA) plugin
author Louis Opter <kalessin@kalessin.fr>
date Thu, 17 Nov 2016 16:25:12 -0800
parents 2b39e0f9d465
children 28548158a325
comparison
equal deleted inserted replaced
6:5692e2a61764 7:829eb62755b0
1 #!/usr/bin/python3 1 # Copyright (c) 2016, Louis Opter <louis@opter.org>
2 """Setup 2 #
3 """ 3 # This file is part of ofxstatement-us-hsbc.
4 from setuptools import find_packages 4 #
5 from distutils.core import setup 5 # ofxstatement-us-hsbc is free software: you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
9 #
10 # ofxstatement-us-hsbc is distributed in the hope that it will be
11 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 import setuptools
6 19
7 version = "0.0.1" 20 version = "0.0.1"
8 21
9 with open('README.rst') as f: 22 with open('README.rst') as f:
10 long_description = f.read() 23 long_description = f.read()
11 24
12 setup(name='ofxstatement-sample', 25 setuptools.setup(
13 version=version, 26 name='ofxstatement-us-hsbc',
14 author="Andrey Lebedev", 27 version=version,
15 author_email="andrey@lebedev.lt", 28 author="Louis Opter",
16 url="https://github.com/kedder/ofxstatement", 29 author_email="louis@opter.org",
17 description=("Sample plugin for ofxstatement"), 30 url="https://github.com/lopter/ofxstatement",
18 long_description=long_description, 31 description=("HSBC (USA) plugin for ofxstatement"),
19 license="GPLv3", 32 long_description=long_description,
20 keywords=["ofx", "banking", "statement"], 33 license="GPLv3",
21 classifiers=[ 34 keywords=["ofx", "banking", "statement", "hsbc", "plugin"],
22 'Development Status :: 3 - Alpha', 35 classifiers=[
23 'Programming Language :: Python :: 3', 36 'Development Status :: 3 - Alpha',
24 'Natural Language :: English', 37 'Programming Language :: Python :: 3.6',
25 'Topic :: Office/Business :: Financial :: Accounting', 38 'Natural Language :: English',
26 'Topic :: Utilities', 39 'Topic :: Office/Business :: Financial :: Accounting',
27 'Environment :: Console', 40 'Topic :: Utilities',
28 'Operating System :: OS Independent', 41 'Environment :: Console',
29 'License :: OSI Approved :: GNU General Public License v3'], 42 'Operating System :: OS Independent',
30 packages=find_packages('src'), 43 'License :: OSI Approved :: GNU General Public License v3'],
31 package_dir={'': 'src'}, 44 packages=setuptools.find_packages('src'),
32 namespace_packages=["ofxstatement", "ofxstatement.plugins"], 45 package_dir={'': 'src'},
33 entry_points={ 46 namespace_packages=["ofxstatement", "ofxstatement.plugins"],
34 'ofxstatement': 47 entry_points={
35 ['sample = ofxstatement.plugins.sample:SamplePlugin'] 48 'ofxstatement': [
36 }, 49 'us-hsbc = ofxstatement.plugins.us_hsbc:HSBCUSAPlugin',
37 install_requires=['ofxstatement'], 50 ]
38 include_package_data=True, 51 },
39 zip_safe=True 52 install_requires=[
40 ) 53 'ofxstatement',
54 'python-dateutil~=2.6.0',
55 ],
56 extras_require={
57 "dev": [
58 "flake8",
59 "mypy-lang",
60 "ipython",
61 "pdbpp",
62 "pep8",
63 ]
64 },
65 include_package_data=True,
66 zip_safe=True
67 )