Files
@ cc2b3978011a
Branch filter:
Location: NPO-Accounting/import2ledger/setup.py - annotation
cc2b3978011a
1.0 KiB
text/x-python
tests: Pass amount to Template.render as string.
render is required to convert the string to Decimal for historical design
reasons. Passing the amount as a string verifies this behavior.
render is required to convert the string to Decimal for historical design
reasons. Passing the amount as a string verifies this behavior.
5c73c40bccfe 5c73c40bccfe 85b665200c60 cbe96f6f0322 a408c854d476 5c73c40bccfe cbe96f6f0322 6fb447a43ab0 6fb447a43ab0 6fb447a43ab0 6fb447a43ab0 cbe96f6f0322 cbe96f6f0322 055cab0703c9 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 15bba54e4eb4 15bba54e4eb4 15bba54e4eb4 85b665200c60 15bba54e4eb4 cbe96f6f0322 cbe96f6f0322 cbe96f6f0322 15bba54e4eb4 cbe96f6f0322 cbe96f6f0322 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 97d8f8fd06d6 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe a408c854d476 23190c1cdbfb 23190c1cdbfb 23190c1cdbfb cbe96f6f0322 cbe96f6f0322 5c73c40bccfe | #!/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='0.11.0',
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,
)
|