From a85b59254ef480e0f275a09660f8085a635d86f1 Mon Sep 17 00:00:00 2001 From: Johnathan Neals Date: Sat, 15 Aug 2026 10:26:10 -0600 Subject: [PATCH] fix: include schema.sql in package data (closes #54) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The base schema file src/db/schema.sql was excluded from pip/pipx installs because the package-data glob only matched migrations/*.sql. Without it, non-Docker installs cannot bootstrap the database — the migration chain starts at 002 and assumes schema.sql was already applied. Add schema.sql to the src.db package-data glob so it ships with the wheel alongside the migrations. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 96d3654..ee196fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,5 +61,5 @@ include = ["src*", "config*"] [tool.setuptools.package-data] config = ["*.yaml", "*.yml"] -"src.db" = ["migrations/*.sql"] +"src.db" = ["schema.sql", "migrations/*.sql"] "src.openbrain_hermes_plugin" = ["plugin.yaml", "README.md"]