I have made an .exe file which depends on the module pytube and would like to run it on my friends pc's, who does not have python installed. However every so often pytube is updated and I would like my .exe that I have given to my friend to stay up to date.
After outputting an .exe with Pyinstaller, is it possible to update the dependencies of the .exe, with the created .exe?
I have created a script that will go and fetch the updated module files from Github and save them into a given directory every time the .exe is run. I would like to use this script to update the dependencies of my .exe after Pyinstaller has created it.
My first thought was I would find where the dependencies were stored in the output of Pyinstaller and get my program to over write it with the newly downloaded module files. However:
A) I do not know where to find these files in the Pyinstaller output
B) I expect these module related files will be in a different format after Pyinstaller has created the .exe ect. than when they are downloaded from Github.
Does anyone have any advice on how to proceed with overcoming this problem?
Thanks.