forked from ebridges/plaid2qif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (49 loc) · 1.73 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
49
50
51
52
53
54
import os
from distutils.core import setup
from setuptools import setup, find_packages
with open('requirements.txt') as f:
REQUIRED = [line.rstrip('\n') for line in f]
__version__ = None
with open('plaid2qif/__init__.py') as f:
for line in f:
if(line.startswith('VERSION')):
__version__ = str(line.strip().split('=')[1])
__version__ = __version__.replace("'", '') # !!!
print ("version is: [%s]" % __version__)
break
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()
setup(
name = "plaid2qif",
version = __version__,
author = "Edward Bridges",
author_email = "[email protected]",
description = "Download financial transactions from Plaid as QIF files.",
license = "MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Home Automation",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3 :: Only",
],
keywords='plaid qif gnucash',
packages=find_packages(),
include_package_data=True,
long_description=read('README.md'),
long_description_content_type='text/markdown',
install_requires=REQUIRED,
python_requires='>=3',
entry_points={
'console_scripts': [
'plaid2qif = plaid2qif.plaid2qif:main',
]
},
)