#!/usr/bin/python #----------------------------------------------------------------------------- # Copyright (c) 2013, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this software. #----------------------------------------------------------------------------- # # Tkinter interface to PyInstaller. # import sys import subprocess from Tkinter import * import tkFileDialog import FileDialog class PyInstallerGUI: def make_checkbutton(self, frame, text): var = IntVar() widget = Checkbutton(frame, text=text, variable=var) widget.grid(sticky="NW") return var def __init__(self): root = Tk() root.title("PyInstaller GUI") fr1 = Frame(root, width=300, height=100) fr1.pack(side="top") fr2 = Frame(root, width=300, height=300, borderwidth=2, relief="ridge") fr2.pack(ipadx=10, ipady=10) fr4 = Frame(root, width=300, height=100) fr4.pack(side="bottom", pady=10) getFileButton = Button(fr1, text="Script to bundle ...") getFileButton.bind("