mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
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:
@@ -0,0 +1,8 @@
|
||||
from Tkinter import *
|
||||
|
||||
root = Tk()
|
||||
|
||||
w = Label(root, text="Hello, world!")
|
||||
w.pack()
|
||||
|
||||
root.mainloop()
|
||||
@@ -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'))
|
||||
Reference in New Issue
Block a user