From 123e4d5740f03aaa32f874729fa308edce08703b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 11 Feb 2026 14:40:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Update=20build=20script=20for=20?= =?UTF-8?q?sqlmodel-slim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pdm_build.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdm_build.py b/pdm_build.py index 67e71cbb05..b1b662bd39 100644 --- a/pdm_build.py +++ b/pdm_build.py @@ -3,7 +3,7 @@ from pdm.backend.hooks import Context -TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "typer") +TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE") def pdm_build_initialize(context: Context) -> None: diff --git a/pyproject.toml b/pyproject.toml index 68c270e026..f30f4b80b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,7 +120,7 @@ scripts = {} # than the one for a default included file. # By not using "*" and explicitly excluding the top level packages, they get a higher # score than the default inclusion -excludes = ["sqlmodel", "tests", "pdm_build.py"] +excludes = ["sqlmodel", "docs_src", "tests", "pdm_build.py"] # source-includes needs to explicitly define some value because PDM will check the # truthy value of the list, and if empty, will include some defaults, including "tests", # an empty string doesn't match anything, but makes the list truthy, so that PDM