dodil/erp-brick-purchasing
DODIL ERP brick: purchasing
pyproject.toml
[project]
license = "Apache-2.0"
license-files = ["LICENSE"]
name = "erp-brick-purchasing"
version = "0.1.0"
description = "Agree what you are going to spend before you spend it, order it in the supplier's own packs, record what actually arrived, check that what a supplier bills you is what you ordered and what arrived, and pay it once in an approved run, so nobody is chasing an invoice nobody recognises and nothing is paid twice."
requires-python = ">=3.10"
dependencies = ["erp-platform>=0.9.7,<0.10"]
[project.optional-dependencies]
test = ["pytest>=8", "uvicorn>=0.34"]
objects = ["boto3>=1.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_purchasing = ["schema.sql", "migrations/*/*.sql", "application/process.yaml", "roles.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "tests"]
addopts = "--show-capture=no"
[tool.ruff]
line-length = 130
target-version = "py310"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]