Files
@ d2f8772e08fb
Branch filter:
Location: NPO-Accounting/import2ledger/setup.py - annotation
d2f8772e08fb
918 B
text/x-python
config: Add open_output_file method.
Make this functionality accessible to hooks.
Make this functionality accessible to hooks.
5c73c40bccfe 5c73c40bccfe cbe96f6f0322 85b665200c60 cbe96f6f0322 a408c854d476 5c73c40bccfe cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 85b665200c60 85b665200c60 85b665200c60 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe e3335aa6ece1 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe a408c854d476 23190c1cdbfb 23190c1cdbfb 23190c1cdbfb cbe96f6f0322 cbe96f6f0322 5c73c40bccfe | #!/usr/bin/env python3
import itertools
import sys
from setuptools import setup, find_packages
REQUIREMENTS = {
'install_requires': ['babel'],
'setup_requires': ['pytest-runner'],
'extras_require': {
'nbpy2017': ['beautifulsoup4', 'html5lib'],
},
}
if sys.version_info < (3, 4):
REQUIREMENTS['install_requires'].extend(['enum34'])
REQUIREMENTS['tests_require'] = [
'pytest',
'PyYAML',
*itertools.chain(*REQUIREMENTS['extras_require'].values()),
]
setup(
name='import2ledger',
description="Import different sources of financial data to Ledger",
version='0.2',
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,
)
|