diff --git a/installer/pyinstaller/hook-samcli.py b/installer/pyinstaller/hook-samcli.py index 8ad7e6d071..0c499dbb55 100644 --- a/installer/pyinstaller/hook-samcli.py +++ b/installer/pyinstaller/hook-samcli.py @@ -9,6 +9,7 @@ "samcli", include_py_files=True, include_datas=["hook_packages/terraform/copy_terraform_built_artifacts.py"] )[0] + hooks.collect_all("jschema_to_python", include_py_files=False)[0] + + hooks.collect_all("cfnlint", include_py_files=True)[0] # Collect ONLY data files. + hooks.collect_data_files("samcli") + hooks.collect_data_files("samtranslator")