Files @ aa488effb0f5
Branch filter:

Location: NPO-Accounting/conservancy_beancount/setup.py

Brett Smith
books.Loader: New loading strategy based on load_file. RT#11034.

Building a string and loading it means Beancount can never cache any
load. It only caches top-level file loads because options in the
top-level file can change the semantics of included entries.

Instead use load_file as much as possible, and filter entries as
needed.
#!/usr/bin/env python3

from setuptools import setup

setup(
    name='conservancy_beancount',
    description="Plugin, library, and reports for reading Conservancy's books",
    version='0.1',
    author='Software Freedom Conservancy',
    author_email='info@sfconservancy.org',
    license='GNU AGPLv3+',

    install_requires=[
        'beancount>=2.2',
        'PyYAML>=3.0',
        'regex',
        'rt>=2.0',
    ],
    setup_requires=[
        'pytest-mypy',
        'pytest-runner',
    ],
    tests_require=[
        'mypy>=0.770',
        'pytest',
    ],

    packages=['conservancy_beancount'],
    entry_points={
        'console_scripts': [
            'accrual-report = conservancy_beancount.reports.accrual:main',
        ],
    },
)