0

I don't know if this question is asked before, but I couldn't find anything similar. Some python site packages (i.e. pytube) are updated fairly often and the old versions become non-functional. updating them is no problem, but what can I do when pyinstaller is used to create applications other than re-running pyinstaller on the scripts which is not possible since the client may not have python installed. Since the application is not onefile type, can I update the package just by changing some of the python extensions in the dist folder created by pyinstaller and how to get those extensions? Thank you!

1 Answers1

1

As per your comment, maybe yes, maybe no. Most people say pyinstaller is better than py2exe as it has many features like onefile, noupx etc. while py2exe hasn't. If you are not using any such options in pyinstaller, you can use py2exe by creating another file called setup.py and typing in:

import py2exe
from distutils.core import setup

setup(console=["<your filename with its extension(.py)>"])

This creates your executable, without any options.

Then you can use Esky to make it auto-updateable. I have no Idea of how to use esky actually, but it does work.

Swagrim
  • 422
  • 4
  • 17