From 9c49517ced9fb61c8a8deafa62fa5f58fc6bf8c1 Mon Sep 17 00:00:00 2001 From: naufraghi Date: Thu, 11 Dec 2008 19:01:33 +0000 Subject: [PATCH] Add an interactive (you have to close the windows...) Tk test git-svn-id: http://svn.pyinstaller.org/trunk@566 8dd32b29-ccff-0310-8a9a-9233e24343b1 --- buildtests/test-tkinter_i.py | 8 ++++++++ buildtests/test-tkinter_i.spec | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 buildtests/test-tkinter_i.py create mode 100644 buildtests/test-tkinter_i.spec diff --git a/buildtests/test-tkinter_i.py b/buildtests/test-tkinter_i.py new file mode 100644 index 0000000..c451464 --- /dev/null +++ b/buildtests/test-tkinter_i.py @@ -0,0 +1,8 @@ +from Tkinter import * + +root = Tk() + +w = Label(root, text="Hello, world!") +w.pack() + +root.mainloop() diff --git a/buildtests/test-tkinter_i.spec b/buildtests/test-tkinter_i.spec new file mode 100644 index 0000000..26d6e26 --- /dev/null +++ b/buildtests/test-tkinter_i.spec @@ -0,0 +1,20 @@ +# -*- mode: python -*- +a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), + os.path.join(HOMEPATH,'support/useUnicode.py'), + 'test-tkinter_i.py'], + pathex=['/Users/matteo/Documents/src/pyinstaller/trunk/buildtests']) +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + exclude_binaries=1, + name=os.path.join('build/pyi.darwin/test-tkinter_i', 'test-tkinter_i'), + debug=False, + strip=False, + upx=False, + console=1 ) +coll = COLLECT( exe, + a.binaries, + a.zipfiles, + strip=False, + upx=False, + name=os.path.join('dist', 'test-tkinter_i'))