On Sat, Apr 17, 2010 at 7:28 PM, Mike <smartmi...@gmail.com> wrote: > Hi all, > > I'm having an issue with Py2app. I'm totally new to this, so if you could > help I'd greatly appreciate it. Below is some of the output I was getting, > and the traceback. I generated a setup.py using py2applet, and thne ran > python setu.py py2app. If you need more information from me, let me know. > > copying C:\Python26\lib\site-packages\win32com\HTML\image\pythoncom.gif -> > C:\Do > cuments and Settings\Consumer\My > Documents\ZGP\src\build\bdist.win32\python2.6-s > tandalone\app\collect\win32com\HTML\image <snip> > "C:\Python26\lib\site-packages\py2app-0.4.3-py2.6.egg\py2app\build_app.py > ", line 400, in symlink > os.symlink(src, dst) > AttributeError: 'module' object has no attribute 'symlink' >> >> c:\python26\lib\site-packages\py2app-0.4.3-py2.6.egg\py2app\build_app.py(400)s > ymlink() > -> os.symlink(src, dst)
You appear to be running py2app from Windows. I think it's only intended to be run from Mac OS X (it might possibly work on *nix too; haven't ever used py2app myself). [i.e. I think you need an OS X machine to even generate a py2app-packaged version of your Python program.] The exact error you're getting is due to os.symlink() only being available on *nix, not Windows. Cheers, Chris -- http://blog.rebertia.com _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG