Aug-21-2018, 03:06 PM
(Aug-21-2018, 02:19 PM)ahmed_mokhles Wrote: Well yes I can do that but what I really want is the python code that can produce an EXE, if that is actually possible.
an exe from what? from your py file?
You can use python to call the 3rd party libs.
this is an example for cxfreeze (mysetup.py)
from cx_Freeze import setup, Executable, build base = None myname = "rotateVideo2" desc = "rotateVideo2" vers = "1.4" executables = [Executable("/home/brian/Dokumente/python_files/rotateVideo2.py", base=base, targetName="rotateVideo2")] build_exe_options = {"packages": ["idna"], "include_files": [], "excludes": ["PyQt4,matplotlib"], "includes": [], "optimize": 2, "build_exe": "/tmp/rotateVideo2", } setup( name = "rotateVideo2", options = {"build_exe": build_exe_options}, version = vers, description = desc, executables = executables )then i can do
python mysetup.py build
and it generates the application from my python file.