deploy as modules, rather than scripts, to support relative imports (#930)

This commit is contained in:
Charles Frye
2024-10-17 11:33:12 -04:00
committed by GitHub
parent a0c804c684
commit 5911dab905

View File

@@ -85,7 +85,7 @@ def main(argv: Optional[list[str]] = None) -> int:
results = [
deploy(
deployable=bool(ex_mod.metadata.get("deploy")),
module_with_app=Path(ex_mod.filename),
module_with_app=Path(ex_mod.module),
dry_run=arguments.dry_run,
filter_pttrn=filter_pttrn,
)