There exists a Python standard package named "resource" which PyInstaller on Linux will use instead of our custom folder for "resource.example_rc". As a result the packaged binary cannot run and will prompt the following
import resource.example_rc as rc
ModuleNotFoundError: No module named 'resource.example_rc'; 'resource' is not a package
Changing resource to resources avoids the issue. More PRs on the way to make the package able to deploy on Linux without manually re-compiling and replacing the binary.
I also changed qrc2py.py to make it runnable on Linux. Should also run on Mac OS but cannot test it cuz I don't use Mac
There exists a Python standard package named "resource" which PyInstaller on Linux will use instead of our custom folder for "resource.example_rc". As a result the packaged binary cannot run and will prompt the following
Changing
resource
toresources
avoids the issue. More PRs on the way to make the package able to deploy on Linux without manually re-compiling and replacing the binary.I also changed qrc2py.py to make it runnable on Linux. Should also run on Mac OS but cannot test it cuz I don't use Mac