#!/usr/bin/python # Tkinter interface to the McMillan installer / PyInstaller # (c) 2003 Alan James Salmoni - yes, all this bad code is all mine!!! # (c) 2011 Hartmut Goebel: adopted to PyInstaller 1.6, use subprocess # released under the MIT license import os import sys import subprocess from Tkinter import * import tkFileDialog import FileDialog class PyInstallerGUI: def __init__(self): root = Tk() fr1 = Frame(root) fr1["width"] = 200 fr1["height"] = 100 fr1.pack(side="top") fr2 = Frame(root) fr2["width"] = 200 fr2["height"] = 300 fr2["borderwidth"] = 2 fr2["relief"] = "ridge" fr2.pack() fr4 = Frame(root) fr4["width"] = 200 fr4["height"] = 100 fr4.pack(side="bottom") getFileButton = Button(fr1) getFileButton["text"] = "Script..." getFileButton.bind("