6a3d64ff22
This is friendlier to the YAML input and consistent with FieldFlags. Less consistent with the rest of the codebase, but local consistency matters more IMO.
56 lines
2.2 KiB
Python
Executable file
56 lines
2.2 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.15.1',
|
|
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
|
|
'GitPython>=2.0', # Debian:python3-git
|
|
# 1.4.1 crashes when trying to save some documents.
|
|
'odfpy>=1.4.0,!=1.4.1', # Debian:python3-odf
|
|
'pdfminer.six>=20200101',
|
|
'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.pdfforms',
|
|
'conservancy_beancount.plugin',
|
|
'conservancy_beancount.reports',
|
|
'conservancy_beancount.tools',
|
|
],
|
|
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',
|
|
'pdfform-fill = conservancy_beancount.pdfforms.fill:entry_point',
|
|
'split-ods-links = conservancy_beancount.tools.split_ods_links:entry_point',
|
|
],
|
|
},
|
|
)
|