import2ledger/setup.py
2021-10-25 11:29:41 -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.5',
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,
)