Hello,
I'm trying out pyinstaller with wxPython on Windows.
I've successfully created an executable that runs fine on my Windows 8 box,
but after I quit the program it remains in memory as a background process.
The executable is created with the windowed option. I don't specify any
additional options.
Please find attached a minimal wxPython application that exhibits this
behavior.
I'm using Python 2.7.4, wxPython 2.9.4.0 and pyinstaller 2.0 on Windows 8
Pro 32 bit.
--
Alexei
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class MyDialog ( wx.Dialog ):
def __init__( self, parent ):
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 108,99 ), style = wx.DEFAULT_DIALOG_STYLE )
self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
bSizer5 = wx.BoxSizer( wx.VERTICAL )
self.m_button2 = wx.Button( self, wx.ID_ANY, u"MyButton", wx.DefaultPosition, wx.DefaultSize, 0 )
bSizer5.Add( self.m_button2, 0, wx.ALL, 5 )
self.m_button3 = wx.Button( self, wx.ID_ANY, u"MyButton", wx.DefaultPosition, wx.DefaultSize, 0 )
bSizer5.Add( self.m_button3, 0, wx.ALL, 5 )
self.SetSizer( bSizer5 )
self.Layout()
self.Centre( wx.BOTH )
def __del__( self ):
pass
class Application(wx.App):
def OnInit(self):
self.main = MyDialog(None)
self.main.Show()
self.SetTopWindow(self.main)
return True
def main():
application = Application(0)
application.MainLoop()
if __name__ == '__main__':
main()