dodil/erp-brick-gl
DODIL ERP brick: general ledger
pyproject.toml
[project]
license = "Apache-2.0"
license-files = ["LICENSE"]
name = "erp-brick-gl"
version = "0.1.1"
description = "The books: every transaction as a balanced entry, account balances you can trust, month-end close, and the reports your accountant asks for, fed by the rest of the business rather than re-keyed from it. Companies, parallel ledgers, document splitting, intercompany, allocations, revaluation, carry-forward, a closing cockpit and a tamper-evident audit trail."
requires-python = ">=3.10"
dependencies = ["erp-platform>=0.9.7,<0.10"]
[project.optional-dependencies]
test = ["pytest>=8", "uvicorn>=0.34"]
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
# The schema, the migrations, the process and the default roles ship INSIDE the package: an installed brick (how a
# composition gets it) must be able to migrate its own tables and show its own process.
[tool.setuptools.package-data]
brick_gl = ["schema.sql", "migrations/*/*.sql", "application/process.yaml", "roles.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "--show-capture=no"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]