Hi,
I have been trying to build my python program to exe.
I have specified a targetDir in Executable but still cx_freeze copies files
to build/ directory.
In the targetDir directory there are only files program.exe, program.zip,
python32.dll.
Is this intented?
When I manually copy files from build/exe.win32-3.2 to the dist directory
my executable works right.
When I compile my program trough GUI2exe everything is copied automatically
to the dist folder. I have tried to export the setup.py script and run it
manually then again the situation is what I described.
I have python 3.2.5 and cx_freeze 4.3.1.
here is my setup.py file
from cx_Freeze import setup, Executable
includes = []
excludes = []
packages = []
path = []
my_exe = Executable(
# what to build
script = "program.py",
initScript = None,
base = 'Win32GUI',
targetDir = r"dist",
targetName = "program.exe",
compress = True,
copyDependentFiles = True,
appendScriptToExe = False,
appendScriptToLibrary = False,
icon = None
)
setup(
version = "0.1",
description = "No Description",
author = "",
name = "",
options = {"build_exe": {"includes": includes,
"excludes": excludes,
"packages": packages,
"path": path
}
},
executables = [my_exe ]
)
Thanks,
Lauri
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users