iRoopDeepFaceCam
iRoopDeepFaceCam copied to clipboard
Add Windows executable build system using PyInstaller
- iRoopDeepFaceCam.spec: PyInstaller spec file with all hidden imports, data files (CustomTkinter theme, ui.json, ONNX runtime), and submodule collection for insightface/gfpgan/onnxruntime
- build_exe.py: Python build script with clean, onefile, and noconsole options, plus distribution preparation (models dir, launcher scripts)
- build_exe.bat: One-click Windows batch build script that installs dependencies, runs PyInstaller, and prepares the output folder
- BUILDING.md: Complete build instructions and troubleshooting guide
- modules/globals.py: Handle PyInstaller frozen exe paths (ROOT_DIR points to exe directory, BUNDLE_DIR to extraction folder)
- modules/utilities.py: resolve_relative_path() now checks PyInstaller bundle first for data files, falls back to exe directory for models
https://claude.ai/code/session_01D1fztARG1KMhLZ2dpx5KcW