Installer and Updater for a python desktop application

There is a suite of tools from the cloudmatrix guys that addresses that problem. esky is an auto-update framework for frozen apps that is compatible with the common python “packaging” frameworks. signedimp tries to ensure that apps are not modified after they are signed, and to minimize invasive Windows UAC dialogs. myppy aims to insulate … Read more

How to build multiple .py files into a single executable file using pyinstaller?

Suppose you had a file called create.py like def square (num) return num ** 2 Another file in the same directory called input.py from . import create def take_input(): x = input(“Enter Input”) return create.square(x) And finally your main.py from . import input if __name__ == ‘__main__’: ip = input.take_input() You will call the command … Read more

Can I control the architecture (32bit vs 64bit) when building a pyinstaller executable?

Pyinstaller produces a binary depending from the python you used to build it. So if you use python 2.7 64 bit it is not possible, as far as I know, to produce a 32 bit executable. This is because Pyinstaller archives all modules and their dependencies (dlls, pyds etc..) which are 64 bit due to … Read more

pyinstaller creating EXE RuntimeError: maximum recursion depth exceeded while calling a Python object

This worked for me Run pyinstaller and stop it to generate the spec file : pyinstaller filename.py A file with .spec as extension should be generated Now add the following lines to the beginning of the spec file : import sys sys.setrecursionlimit(5000) Now run the spec file using : pyinstaller filename.spec