From 7eed90249fd122d799bbdba0e8edb15f118ceca1 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Sat, 10 Jan 2026 18:56:14 -0600 Subject: [PATCH] Add CHANGELOG.md to include files in build process if it exists --- cx_setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cx_setup.py b/cx_setup.py index e0160c7..f305067 100644 --- a/cx_setup.py +++ b/cx_setup.py @@ -14,6 +14,10 @@ build_exe_dir = os.environ.get("CX_FREEZE_BUILD_EXE", "build/exe") include_files = [] +changelog_path = ROOT / "CHANGELOG.md" +if changelog_path.exists(): + include_files.append((str(changelog_path), "CHANGELOG.md")) + if PUBLIC_DIR.exists() and PUBLIC_DIR.is_dir(): include_files.append((str(PUBLIC_DIR), "public"))