Re: [DirectPython] Does this work with Py2exe
Status: Inactive
Brought to you by:
hsalo
From: Heikki S. <ho...@gm...> - 2007-01-12 22:47:41
|
> -----Original Message----- > From: dir...@li... > [mailto:dir...@li...] > On Behalf Of Mudflap Central > Sent: 12. tammikuuta 2007 19:17 > To: dir...@li... > Subject: [DirectPython] Does this work with Py2exe > > Hi Heikki, > > Directpy is excelent. Thank you for making such a great tool > for python scripters. > > I have made some adjustments to meshviewer.py to make it use > a tkinter interface for .x file and .dds file selection. > Makes it easier than using the command line. > > I want to make a .exe file of it. I have tried py2exe but > have had no luck. > Has anyone else had success with this? > > Heikki, is there something structural about the way driectpy > that prevents py2exe from making libraries out of it? > > Cheers, > > Mudflap > > _________________________________________________________________ > Communicate instantly! Use your Hotmail address to sign into > Windows Live Messenger now. http://get.live.com/messenger/overview > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV Using Tk for file dialogs should work. Some things that can cause problems are .dll's and directories. Make sure that all .dll's and .pyd's are available and also make sure that paths are correct. They behave little differently (working directory can be different etc.) with py2exe. If you can post/upload your code or error messages in somewhere I might be able to give better hints if the source is not overly huge. By the way, your post reminded me that I should write a FileDialog-class for d3dgui. So I wrote it :) It seems to work ok and I can post it early if you use d3dgui and have any use for it. It will be in the next release, too. -- Heikki |