-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·48 lines (45 loc) · 1.59 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
43
44
45
46
47
48
#!/usr/bin/python3
from setuptools import find_packages
from setuptools.command.test import test as TestCommand
from distutils.core import setup
import unittest
import sys
version = "0.7.1"
with open("CHANGES.rst") as chlogf, open("README.rst", encoding="utf-8") as rdmef:
long_description = chlogf.read() + "\n\n" + rdmef.read()
setup(
name="ofxstatement",
version=version,
author="Andrey Lebedev",
author_email="andrey@lebedev.lt",
url="https://github.com/kedder/ofxstatement",
description=(
"Tool to convert proprietary bank statement to "
"OFX format, suitable for importing to GnuCash"
),
long_description=long_description,
long_description_content_type="text/markdown",
license="GPLv3",
keywords=["ofx", "banking", "statement"],
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Natural Language :: English",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Utilities",
"Environment :: Console",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
packages=find_packages("src"),
namespace_packages=["ofxstatement", "ofxstatement.plugins"],
entry_points={
"console_scripts": ["ofxstatement = ofxstatement.tool:run"],
},
package_dir={"": "src"},
install_requires=["setuptools", "appdirs>=1.3.0"],
extras_require={"test": ["mock", "pytest>=4.6", "pytest-cov"]},
tests_require=["mock"],
include_package_data=True,
zip_safe=True,
)