<br><font size=2 face="sans-serif">Low Sensitivity/Aerospace Internal Use
Only</font>
<br>
<br><font size=2 face="sans-serif"><br>
<br>
I'm trying to create an .app from a .py file. When I double-click
the .app, I get a message saying Pmw was not found.</font>
<br>
<br><font size=2 face="sans-serif">The commands I use are:</font>
<br>
<br><font size=2 face="sans-serif">py2applet --make-setup myprogram.py</font>
<br><font size=2 face="sans-serif">python setup.py py2app --packages Pmw</font>
<br>
<br><font size=2 face="sans-serif">When I double-click the app icon, I
get an error:</font>
<br>
<br><font size=2 face="sans-serif">OSError: [Errno 20] Not a directory:'/Users/me/Documents/myprogram/bin/dist.myprogram.app/Contents/Resources/lib/python2.5/site-packages.zip/Pmw'</font>
<br>
<br><font size=2 face="sans-serif">When I look in that directory, I see
the site-packages.zip file AND a Pmw subdirectory. Pmw is NOT included
in site-packages.zip.</font>
<br>
<br><font size=2 face="sans-serif">If I run the python setup.py py2app
command with --include Pmw instead, the site-packages.zip file contains
Pmw/__init__.pyc, but no other Pmw files.</font>
<br>
<br><font size=2 face="sans-serif">I'm running MacOS X 10.5.6, Python 2.5.1,
Pmw 1.3.</font>
<br>
<br><font size=2 face="sans-serif">Suggestions are appreciated. Thanks!<br>
<br>
Low Sensitivity/Aerospace Internal Use Only</font>