Hi Anthony,
Thanks for the quick reply.
This will trigger the problem:
example.py
"""
#! /usr/bin/env python
import cgitb
def main():
print "Hello world"
if __name__ == "__main__":
main()
"""
setup.py
"""
#! /usr/bin/env python
from cx_Freeze import setup, Executable
example = Executable("example.py", excludes=["Tkinter"])
setup(name = "Tester",
excludes = ["Tkinter"],
version = "0.1",
description = "Test for Tkinter exclusion",
executables = [example])
"""
I don't know if cgitb is the only module that causes the problem - I
just picked one script that had the problem and removed everything
until it was a minimum failure. My guess is that there are other
modules too (I don't think everything I'm trying to freeze has a cgitb
import somewhere, although I guess it's possible it's in something
that other scripts are all importing).
Thanks,
Tony
------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users