dodil/erp-brick-business-partner

pyproject.toml

[project]
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
name = "brick-business-partner"
version = "0.4.0"
description = "The shared party master: one record per company or person, with roles and a typed corporate family."
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 ships INSIDE the package: an installed brick (how a composition gets it) must be able to
# migrate its own tables.
[tool.setuptools.package-data]
brick_bp = ["schema.sql"]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]