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-07-20 19:13:20 +00:00
|
|
|
version='1.5.11',
|
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-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
|
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',
|
|
|
|
'conservancy_beancount.plugin',
|
|
|
|
'conservancy_beancount.reports',
|
|
|
|
],
|
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-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',
|
2020-05-04 20:36:59 +00:00
|
|
|
],
|
|
|
|
},
|
2020-03-05 14:33:23 +00:00
|
|
|
)
|