From e8be952fbd47b30eb0721b95846376455a8d1176 Mon Sep 17 00:00:00 2001 From: Richard Ginzburg Date: Thu, 26 Feb 2026 12:18:56 +0700 Subject: [PATCH] Fix package discovery so the sqlextract entry point resolves correctly setuptools could not find the `src` package without an explicit `[tool.setuptools.packages.find]` directive, causing a ModuleNotFoundError when running the installed `sqlextract` console script. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 16d5f46..5136cc4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,9 @@ dev = [ [project.scripts] sqlextract = "src.cli:main" +[tool.setuptools.packages.find] +include = ["src*"] + [tool.black] line-length = 100 target-version = ['py39', 'py310', 'py311', 'py312']