import2ledger/setup.py

45 lines
1 KiB
Python
Raw Normal View History

#!/usr/bin/env python3
import sys
2017-10-22 18:31:38 +00:00
from setuptools import setup, find_packages
REQUIREMENTS = {
'install_requires': [
'babel',
'enum34;python_version<"3.4"',
],
'setup_requires': ['pytest-runner'],
'extras_require': {
2018-01-23 13:40:41 +00:00
'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='0.10.1',
author='Brett Smith',
author_email='brettcsmith@brettcsmith.org',
license='GNU AGPLv3+',
2017-10-22 18:31:38 +00:00
packages=find_packages(include=['import2ledger', 'import2ledger.*']),
entry_points={
'console_scripts': ['import2ledger = import2ledger.__main__:main'],
},
**REQUIREMENTS,
)