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
This commit is contained in:
naufraghi
2008-12-11 19:01:33 +00:00
parent 3826b4c080
commit 9c49517ced
2 changed files with 28 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack()
root.mainloop()
+20
View File
@@ -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'))