forked from beancount/fava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (68 loc) · 2.21 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import ast
from os import path
import re
from setuptools import find_packages, setup
with open(path.join(path.dirname(__file__), 'fava', '__init__.py'), 'rb') as f:
VERSION = str(ast.literal_eval(re.search(
r'__version__\s+=\s+(.*)',
f.read().decode('utf-8')).group(1)))
with open(path.join(path.dirname(__file__), 'README.rst')) as readme:
LONG_DESCRIPTION = readme.read()
setup(
name='fava',
version=VERSION,
description='Web interface for the accounting tool Beancount.',
long_description=LONG_DESCRIPTION,
url='https://beancount.github.io/fava/',
author='Dominik Aumayr',
author_email='[email protected]',
license='MIT',
keywords='fava beancount accounting',
packages=find_packages(exclude=['tests']),
include_package_data=True,
entry_points={
'console_scripts': [
'fava = fava.cli:main',
]
},
install_requires=[
'beancount>=2.0b15',
'Babel>=2.5.2',
'click',
'Flask>=0.10.1',
'Flask-Babel>=0.10.0',
'Jinja2>=2.10',
'markdown2>=2.3.0',
'ply',
],
extras_require={
'excel': [
'pyexcel>=0.2.2',
'pyexcel-ods3>=0.1.1',
'pyexcel-xls>=0.1.0',
'pyexcel-xlsx>=0.1.0',
],
':sys_platform == "win32"': [
'pyreadline'
],
},
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: JavaScript',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Office/Business :: Financial :: Accounting',
'Topic :: Office/Business :: Financial :: Investment',
],
)