Skip to content

Commit 7616ffc

Browse files
manskxmansyawaelchli
authored andcommitted
Include app templates to the lightning and app packages (#13731)
* Include app templates to the package Co-authored-by: mansy <[email protected]> Co-authored-by: Adrian Wälchli <[email protected]> (cherry picked from commit ca1917e)
1 parent 7cdfc8d commit 7616ffc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/lightning/__setup__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def _adjust_manifest(**kwargs: Any) -> None:
3939
lines += [
4040
"recursive-include src *.md" + os.linesep,
4141
"recursive-include requirements *.txt" + os.linesep,
42+
"recursive-include src/lightning_app/cli/*-template *" + os.linesep, # Add templates
4243
]
4344
with open(manifest_path, "w") as fp:
4445
fp.writelines(lines)

src/lightning_app/__setup__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def _adjust_manifest(**__: Any) -> None:
5050
"recursive-exclude requirements *.txt" + os.linesep,
5151
"recursive-include src/lightning_app *.md" + os.linesep,
5252
"recursive-include requirements/app *.txt" + os.linesep,
53+
"recursive-include src/lightning_app/cli/*-template *" + os.linesep, # Add templates
5354
]
5455

5556
# TODO: remove this once lightning-ui package is ready as a dependency

0 commit comments

Comments
 (0)