You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got somewhere with this one Windows. Happy to formalize this into a detailed example if needed.
Zip Installer is obtained by
python setup.py bdist
MSI Installer is obtained by
python setup.py bdist_msi
#setup.pyfromdistutils.sysconfigimportget_python_libfromos.pathimportjoinfromglobimportglobfromcx_Freezeimportsetup, Executable# Basically just copy all of the CEF distribution into the installer# I have only tested this on windowscefPath=join(get_python_lib(), "cefpython3")
CEF_INCLUDES=glob(join(cefPath, "*"))
CEF_INCLUDES.remove(join(cefPath, "examples"))
setup(
name="MyAppName",
version="1.0.0",
options= {
"build_exe": {
'packages': ["os","sys","ctypes","win32con", "json"],
'include_files': CEF_INCLUDES+ ['otherResourceFolder'],
'include_msvcr': True,
}},
executables= [Executable("app.py", base="Win32GUI")]
)
Reacted by Czarek Tomczak, 846948768, Rodrigo Ce Moretto, Nabeel S., WaelConex and leap
This appears to no longer work: [0511/153708.613:ERROR:icu_util.cc(172)] Invalid file descriptor to ICU data received.
Completely deleting icudtl.dat gives the same error. Likely the path to the file is build in an incompatible way.
Activity
[-]Example of packaging using cx_Freeze[/-][+]Example of packaging app using cx_Freeze[/+]josephmartin09 commentedon Jun 19, 2018
I got somewhere with this one Windows. Happy to formalize this into a detailed example if needed.
Zip Installer is obtained by
MSI Installer is obtained by
846948768 commentedon Jun 7, 2019
@josephmartin09 In order to thank you, I specially registered this account, you are so powerful! thank you again~
Berserker66 commentedon May 11, 2021
This appears to no longer work:
[0511/153708.613:ERROR:icu_util.cc(172)] Invalid file descriptor to ICU data received.Completely deleting
icudtl.datgives the same error. Likely the path to the file is build in an incompatible way.FeralFox commentedon Feb 17, 2022
I got the same error using PyInstaller.