2017-10-22 17:38:53 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
2017-12-26 18:35:06 +00:00
|
|
|
import itertools
|
|
|
|
|
2017-10-22 18:31:38 +00:00
|
|
|
from setuptools import setup, find_packages
|
2017-10-22 17:38:53 +00:00
|
|
|
|
2017-12-26 18:35:06 +00:00
|
|
|
REQUIREMENTS = {
|
|
|
|
'install_requires': ['babel'],
|
|
|
|
'setup_requires': ['pytest-runner'],
|
|
|
|
'extras_require': {
|
|
|
|
'nbpy2017': ['beautifulsoup4', 'html5lib'],
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
REQUIREMENTS['tests_require'] = [
|
|
|
|
'pytest',
|
|
|
|
'PyYAML',
|
|
|
|
*itertools.chain(*REQUIREMENTS['extras_require'].values()),
|
|
|
|
]
|
|
|
|
|
2017-10-22 17:38:53 +00:00
|
|
|
setup(
|
|
|
|
name='import2ledger',
|
|
|
|
description="Import different sources of financial data to Ledger",
|
2017-11-09 21:19:29 +00:00
|
|
|
version='0.2',
|
2017-10-22 17:38:53 +00:00
|
|
|
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.*']),
|
2017-10-22 18:31:53 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': ['import2ledger = import2ledger.__main__:main'],
|
|
|
|
},
|
2017-12-26 18:35:06 +00:00
|
|
|
|
|
|
|
**REQUIREMENTS,
|
2017-10-22 17:38:53 +00:00
|
|
|
)
|