Skip to content

Commit e300bbc

Browse files
committed
Add support for Shiny Express for manifests
1 parent d4602e0 commit e300bbc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rsconnect/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,6 +1999,11 @@ def _write_framework_manifest(
19991999
with cli_feedback("Inspecting Python environment"):
20002000
_, environment = get_python_env_info(directory, python, force_generate)
20012001

2002+
if app_mode == AppModes.PYTHON_SHINY:
2003+
with cli_feedback("Inspecting Shiny for Python app"):
2004+
if is_express_app(entrypoint + ".py", directory):
2005+
entrypoint = "shiny.express.app:" + escape_to_var_name(entrypoint + ".py")
2006+
20022007
with cli_feedback("Creating manifest.json"):
20032008
environment_file_exists = write_api_manifest_json(
20042009
directory,

0 commit comments

Comments
 (0)