spec file created by PyInstaller is useful to share since contains information like hidden-imports, datas and exe-related meta that are fundamentals and necessary for other developers to recreate the exe locally, without struggling to search by themselves what imports and other things are needed.