@@ -35,24 +35,34 @@ install_requires =
beancount>=2.2
GitPython>=2.0
odfpy>=1.4.0,!=1.4.1
pdfminer.six>=20200101
python-dateutil>=2.7
PyYAML>=3.0
regex
rt>=2.0
thefuzz
packages = find:
python_requires = >=3.6
[options.extras_require]
test =
mypy>=0.770
pytest>=3.0
pytest-mypy
types-requests
types-python-dateutil
types-setuptools
types-PyYAML
[options.entry_points]
console_scripts =
accrual-report = conservancy_beancount.reports.accrual:entry_point
assemble-audit-reports = conservancy_beancount.tools.audit_report:entry_point
balance-sheet-report = conservancy_beancount.reports.balance_sheet:entry_point
budget-report = conservancy_beancount.reports.budget:entry_point
bean-sort = conservancy_beancount.tools.sort_entries:entry_point
extract-odf-links = conservancy_beancount.tools.extract_odf_links:entry_point
fund-report = conservancy_beancount.reports.fund:entry_point
ledger-report = conservancy_beancount.reports.ledger:entry_point
opening-balances = conservancy_beancount.tools.opening_balances:entry_point
pdfform-extract = conservancy_beancount.pdfforms.extract:entry_point
@@ -66,24 +76,28 @@ console_scripts =
[options.package_data]
* = py.typed
[options.packages.find]
exclude =
tests
[testenv]
deps =
# Beancount includes type declarations but not the `py.typed` flag file mypy
# is looking for to know that. Create it ourselves.
commands_pre = python -c 'import beancount, pathlib; pathlib.Path(beancount.__file__).with_name("py.typed").touch()'
commands =
pytest
pytest --mypy conservancy_beancount
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning:^socks$