Hi Everyone,
   This is sudhakar,i want to covert my pmw application
   into an executable on Windows and ".dmg or .app" on Mac.
   while i was trying i am able to convert but unable to run my application.
   After coverting Menubar.py into Menubar.exe using py2exe and when i run it i get the ERROR:

 Traceback (most recent call last):
  File "MenuBar.py", line 160, in <module>
  File "Pmw\Pmw_1_3\lib\PmwLoader.pyc", line 134, in __getattr__

  File "Pmw\Pmw_1_3\lib\PmwLoader.pyc", line 113, in _initialise

 IOError: [Errno 2] No such file or directory: 'C:\\Python25\\dist\\.\\Pmw\\Pmw_1_3\\lib\\Pmw.def'

Please help me how to solve the error and make an executable...

I was using the setup.py script as below:

from distutils.core import setup
import py2exe

'py2exe': {
'packages':['Pmw', 'Pmw.Pmw_1_3',
'skip_archive': True,
'dll_excludes': ['MSVCR71.dll']

  With Regards
  S Sudhakar.