setup: Declare dependencies for nbpy2017 importer.
This commit is contained in:
parent
87f3209101
commit
cbe96f6f03
1 changed files with 18 additions and 4 deletions
22
setup.py
22
setup.py
|
@ -1,7 +1,23 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import itertools
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
REQUIREMENTS = {
|
||||||
|
'install_requires': ['babel'],
|
||||||
|
'setup_requires': ['pytest-runner'],
|
||||||
|
'extras_require': {
|
||||||
|
'nbpy2017': ['beautifulsoup4', 'html5lib'],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
REQUIREMENTS['tests_require'] = [
|
||||||
|
'pytest',
|
||||||
|
'PyYAML',
|
||||||
|
*itertools.chain(*REQUIREMENTS['extras_require'].values()),
|
||||||
|
]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='import2ledger',
|
name='import2ledger',
|
||||||
description="Import different sources of financial data to Ledger",
|
description="Import different sources of financial data to Ledger",
|
||||||
|
@ -10,12 +26,10 @@ setup(
|
||||||
author_email='brettcsmith@brettcsmith.org',
|
author_email='brettcsmith@brettcsmith.org',
|
||||||
license='GNU AGPLv3+',
|
license='GNU AGPLv3+',
|
||||||
|
|
||||||
install_requires=['babel'],
|
|
||||||
setup_requires=['pytest-runner'],
|
|
||||||
tests_require=['pytest', 'PyYAML'],
|
|
||||||
|
|
||||||
packages=find_packages(include=['import2ledger', 'import2ledger.*']),
|
packages=find_packages(include=['import2ledger', 'import2ledger.*']),
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': ['import2ledger = import2ledger.__main__:main'],
|
'console_scripts': ['import2ledger = import2ledger.__main__:main'],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
**REQUIREMENTS,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue