2020-03-05 14:33:23 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='conservancy_beancount',
|
|
|
|
description="Plugin, library, and reports for reading Conservancy's books",
|
2020-12-29 17:20:53 +00:00
|
|
|
version='1.14.3',
|
2020-03-05 14:33:23 +00:00
|
|
|
author='Software Freedom Conservancy',
|
|
|
|
author_email='info@sfconservancy.org',
|
|
|
|
license='GNU AGPLv3+',
|
|
|
|
|
|
|
|
install_requires=[
|
2020-05-28 12:39:50 +00:00
|
|
|
'babel>=2.6', # Debian:python3-babel
|
2020-05-25 15:16:57 +00:00
|
|
|
'beancount>=2.2', # Debian:beancount
|
2020-07-29 19:46:14 +00:00
|
|
|
'GitPython>=2.0', # Debian:python3-git
|
2020-06-03 23:03:02 +00:00
|
|
|
# 1.4.1 crashes when trying to save some documents.
|
|
|
|
'odfpy>=1.4.0,!=1.4.1', # Debian:python3-odf
|
2021-01-04 21:10:11 +00:00
|
|
|
'pdfminer.six>=20200101',
|
2020-05-25 15:16:57 +00:00
|
|
|
'PyYAML>=3.0', # Debian:python3-yaml
|
|
|
|
'regex', # Debian:python3-regex
|
2020-03-24 13:08:08 +00:00
|
|
|
'rt>=2.0',
|
2020-03-05 14:33:23 +00:00
|
|
|
],
|
2020-03-18 12:14:36 +00:00
|
|
|
setup_requires=[
|
|
|
|
'pytest-mypy',
|
2020-05-25 15:16:57 +00:00
|
|
|
'pytest-runner', # Debian:python3-pytest-runner
|
2020-03-18 12:14:36 +00:00
|
|
|
],
|
|
|
|
tests_require=[
|
2020-05-25 15:16:57 +00:00
|
|
|
'mypy>=0.770', # Debian:python3-mypy
|
|
|
|
'pytest', # Debian:python3-pytest
|
2020-03-18 12:14:36 +00:00
|
|
|
],
|
2020-03-05 14:33:23 +00:00
|
|
|
|
2020-05-18 13:21:08 +00:00
|
|
|
packages=[
|
|
|
|
'conservancy_beancount',
|
2021-01-04 21:10:11 +00:00
|
|
|
'conservancy_beancount.pdfforms',
|
2020-05-18 13:21:08 +00:00
|
|
|
'conservancy_beancount.plugin',
|
|
|
|
'conservancy_beancount.reports',
|
2020-08-31 21:05:51 +00:00
|
|
|
'conservancy_beancount.tools',
|
2020-05-18 13:21:08 +00:00
|
|
|
],
|
2020-05-04 20:36:59 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2020-06-12 19:08:08 +00:00
|
|
|
'accrual-report = conservancy_beancount.reports.accrual:entry_point',
|
2020-08-31 02:34:32 +00:00
|
|
|
'assemble-audit-reports = conservancy_beancount.tools.audit_report:entry_point',
|
2020-08-17 01:14:09 +00:00
|
|
|
'balance-sheet-report = conservancy_beancount.reports.balance_sheet:entry_point',
|
2020-10-26 18:57:15 +00:00
|
|
|
'budget-report = conservancy_beancount.reports.budget:entry_point',
|
2020-10-06 14:38:39 +00:00
|
|
|
'bean-sort = conservancy_beancount.tools.sort_entries:entry_point',
|
2020-08-10 14:02:40 +00:00
|
|
|
'extract-odf-links = conservancy_beancount.tools.extract_odf_links:entry_point',
|
2020-06-21 19:27:43 +00:00
|
|
|
'fund-report = conservancy_beancount.reports.fund:entry_point',
|
2020-06-16 14:18:18 +00:00
|
|
|
'ledger-report = conservancy_beancount.reports.ledger:entry_point',
|
2020-06-25 14:51:37 +00:00
|
|
|
'opening-balances = conservancy_beancount.tools.opening_balances:entry_point',
|
2021-01-04 21:10:11 +00:00
|
|
|
'pdfform-extract = conservancy_beancount.pdfforms.extract:entry_point',
|
2020-09-09 03:37:00 +00:00
|
|
|
'split-ods-links = conservancy_beancount.tools.split_ods_links:entry_point',
|
2020-05-04 20:36:59 +00:00
|
|
|
],
|
|
|
|
},
|
2020-03-05 14:33:23 +00:00
|
|
|
)
|