dodil/erp-platform

templates/brick-example/pyproject.toml

[project]
name = "brick-example"
version = "0.1.0"
description = "Quotes with lines, sent and accepted — the starter brick."
requires-python = ">=3.10"
dependencies = ["erp-platform>=0.9.2,<0.10"]

[project.optional-dependencies]
test = ["pytest>=8", "uvicorn>=0.34"]

[build-system]
requires = ["setuptools>=68"]
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_example = ["schema.sql", "application/process.yaml"]

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