]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
🔨 Update build script for `sqlmodel-slim` (#1754)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 11 Feb 2026 13:43:23 +0000 (05:43 -0800)
committerGitHub <noreply@github.com>
Wed, 11 Feb 2026 13:43:23 +0000 (13:43 +0000)
pdm_build.py
pyproject.toml

index 67e71cbb05dcb05f84fc91d4238af26ae01f2511..b1b662bd3951f60f1e1f46f1cc63bd8ed58975ba 100644 (file)
@@ -3,7 +3,7 @@ from typing import Any
 
 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:
index 68c270e026b2400807025b9851a8fb0d229b65d0..f30f4b80b1489f37b59eeb34564c6ed2db2bf4ab 100644 (file)
@@ -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