Eel icon indicating copy to clipboard operation
Eel copied to clipboard

cx_freeze support in addition to PyInstaller

Open grokwithrahul opened this issue 4 years ago • 1 comments

I built my eel application using cx_freeze instead of PyInstaller, then realized that PyInstaller-specific variables were hardcoded into init.py. In the function _get_real_path, sys.frozen is used by both cx_freeze and PyInstaller. However, sys._MEIPASS is a variable that only PyInstaller uses (to store the current path of the folder). I added support to allow the users to say what their application is frozen with, during the eel.init(), with the variable frozen_with.

grokwithrahul avatar Mar 17 '21 15:03 grokwithrahul

Is there some benefit from using cx_Freeze over PyInstaller?

samuelhwilliams avatar Jul 12 '24 06:07 samuelhwilliams