diff --git a/src/lightning/__setup__.py b/src/lightning/__setup__.py index 22c3fd2b847cd..83f060b9b2e23 100644 --- a/src/lightning/__setup__.py +++ b/src/lightning/__setup__.py @@ -39,6 +39,7 @@ def _adjust_manifest(**kwargs: Any) -> None: lines += [ "recursive-include src *.md" + os.linesep, "recursive-include requirements *.txt" + os.linesep, + "recursive-include src/lightning_app/cli/*-template *" + os.linesep, # Add templates ] with open(manifest_path, "w") as fp: fp.writelines(lines) diff --git a/src/lightning_app/__setup__.py b/src/lightning_app/__setup__.py index 0e892fa047ab7..9fe01a0ebe0e5 100644 --- a/src/lightning_app/__setup__.py +++ b/src/lightning_app/__setup__.py @@ -50,6 +50,7 @@ def _adjust_manifest(**__: Any) -> None: "recursive-exclude requirements *.txt" + os.linesep, "recursive-include src/lightning_app *.md" + os.linesep, "recursive-include requirements/app *.txt" + os.linesep, + "recursive-include src/lightning_app/cli/*-template *" + os.linesep, # Add templates ] # TODO: remove this once lightning-ui package is ready as a dependency