dodil/erp-brick-lead

pyproject.toml

[project]
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
name = "brick-lead"
version = "0.3.1"
description = "Leads: import, scoring by your own policy, convert into partner + contact + deal, and lookalikes."
requires-python = ">=3.10"
# pgvector: the VECTOR column type and its `<=>` comparator for SQLAlchemy (CRM-14). 0.5 is pure Python and
# pulls in nothing else (no numpy).
dependencies = ["erp-platform>=0.9.7,<0.10", "pgvector>=0.5,<0.6"]

[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_lead = ["schema.sql", "roles.yaml", "application/process.yaml"]

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