- Drop the now-obsolete src/lib and src/py_func data entries (those paths no longer exist) - Add src/testium/py_func and src/testium/runtime as bundle-root data dirs: the py_func subprocess is launched with the *host* Python (not the frozen interpreter), so it needs the source files on disk at cwd=subproc_path() to find py_func/__main__.py and import from runtime.* - Hidden imports updated: libs.* → api.*, plus py_func.* explicitly declared so PyInstaller pulls them into the bundle even though they are loaded as data Smoke-tested: built binary runs `testium -b`, py_func subprocess works. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2.0 KiB
2.0 KiB