I want to use Pyoxidizer to create a .exe for my program.
In my script I use a saved torch model (torch.load(“path”)).
I want to pack this file in the .exe so that it can actually use it.
I know, that I need to use importlib to access the file during runtime.
My question is, how I can add that file to the .exe.
I tried adding some stuff in the pyoxidizer.bzl but nothing worked for me.
Tried e.g. exe.add_python_resources