import2ledger/setup.py
Brett Smith 742fccca0c patreon: Exclude tax from full amount.
This makes the balancing logic in entry generation work the way we want.
2020-12-10 09:43:47 -05:00

44 lines
1 KiB
Python
Executable file

#!/usr/bin/env python3
import sys
from setuptools import setup, find_packages
REQUIREMENTS = {
'install_requires': [
'babel',
'enum34;python_version<"3.4"',
],
'setup_requires': ['pytest-runner'],
'extras_require': {
'brightfunds': ['xlrd'],
'nbpy2017': ['beautifulsoup4', 'html5lib'],
},
}
all_extras_require = [
req for reqlist in REQUIREMENTS['extras_require'].values() for req in reqlist
]
REQUIREMENTS['extras_require']['all_importers'] = all_extras_require
REQUIREMENTS['tests_require'] = [
'pytest',
'PyYAML',
*all_extras_require,
]
setup(
name='import2ledger',
description="Import different sources of financial data to Ledger",
version='1.4.1',
author='Brett Smith',
author_email='brettcsmith@brettcsmith.org',
license='GNU AGPLv3+',
packages=find_packages(include=['import2ledger', 'import2ledger.*']),
entry_points={
'console_scripts': ['import2ledger = import2ledger.__main__:main'],
},
**REQUIREMENTS,
)