5859421a15
Everything it said was a problem has been done legitimately in our books at one point or another. * Variation in contract can happen in different line items of an invoice or "group of contractor" situations. * Variation in cost can happen because one invoice spans a period of time, like donation matching programs. There is probably still value in a tool that checks to make sure we use consistent rates each day, but that affects all kinds of transactions, not just accruals, so it would be done better in a separate tool. * Variation in account happens because invoices legitimately span accrual accounts, like donation matching programs with fees payable. So: it's gone, good riddance.
41 lines
1.1 KiB
Python
Executable file
41 lines
1.1 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
from setuptools import setup
|
|
|
|
setup(
|
|
name='conservancy_beancount',
|
|
description="Plugin, library, and reports for reading Conservancy's books",
|
|
version='1.1.8',
|
|
author='Software Freedom Conservancy',
|
|
author_email='info@sfconservancy.org',
|
|
license='GNU AGPLv3+',
|
|
|
|
install_requires=[
|
|
'babel>=2.6', # Debian:python3-babel
|
|
'beancount>=2.2', # Debian:beancount
|
|
# 1.4.1 crashes when trying to save some documents.
|
|
'odfpy>=1.4.0,!=1.4.1', # Debian:python3-odf
|
|
'PyYAML>=3.0', # Debian:python3-yaml
|
|
'regex', # Debian:python3-regex
|
|
'rt>=2.0',
|
|
],
|
|
setup_requires=[
|
|
'pytest-mypy',
|
|
'pytest-runner', # Debian:python3-pytest-runner
|
|
],
|
|
tests_require=[
|
|
'mypy>=0.770', # Debian:python3-mypy
|
|
'pytest', # Debian:python3-pytest
|
|
],
|
|
|
|
packages=[
|
|
'conservancy_beancount',
|
|
'conservancy_beancount.plugin',
|
|
'conservancy_beancount.reports',
|
|
],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'accrual-report = conservancy_beancount.reports.accrual:main',
|
|
],
|
|
},
|
|
)
|