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
copying C:\Python26\lib\site-packages\win32com\HTML\image\www_icon.gif -> C:\Doc
uments and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-st
andalone\app\collect\win32com\HTML\image
copying C:\Python26\lib\site-packages\win32com\HTML\index.html -> C:\Documents a
nd Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-standalone
\app\collect\win32com\HTML
copying C:\Python26\lib\site-packages\win32com\HTML\misc.html -> C:\Documents an
d Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-standalone\
app\collect\win32com\HTML
copying C:\Python26\lib\site-packages\win32com\HTML\package.html -> C:\Documents
and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-standalo
ne\app\collect\win32com\HTML
copying C:\Python26\lib\site-packages\win32com\HTML\PythonCOM.html -> C:\Documen
ts and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-standa
lone\app\collect\win32com\HTML
copying C:\Python26\lib\site-packages\win32com\HTML\QuickStartClientCom.html ->
C:\Documents and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python
2.6-standalone\app\collect\win32com\HTML
copying C:\Python26\lib\site-packages\win32com\HTML\QuickStartServerCom.html ->
C:\Documents and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python
2.6-standalone\app\collect\win32com\HTML
creating C:\Documents and Settings\Consumer\My Documents\ZGP\src\build\bdist.win
32\python2.6-standalone\app\collect\win32com\include
copying C:\Python26\lib\site-packages\win32com\include\PythonCOM.h -> C:\Documen
ts and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-standa
lone\app\collect\win32com\include
copying C:\Python26\lib\site-packages\win32com\include\PythonCOMRegister.h -> C:
\Documents and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.
6-standalone\app\collect\win32com\include
copying C:\Python26\lib\site-packages\win32com\include\PythonCOMServer.h -> C:\D
ocuments and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-
standalone\app\collect\win32com\include
creating C:\Documents and Settings\Consumer\My Documents\ZGP\src\build\bdist.win
32\python2.6-standalone\app\collect\win32com\libs
copying C:\Python26\lib\site-packages\win32com\libs\pythoncom.lib -> C:\Document
s and Settings\Consumer\My Documents\ZGP\src\build\bdist.win32\python2.6-standal
one\app\collect\win32com\libs
*** creating application bundle: zgp ***
copying zgp.py -> C:\Documents and Settings\Consumer\My Documents\ZGP\src\dist\z
gp.app\Contents\Resources
creating C:\Documents and Settings\Consumer\My Documents\ZGP\src\dist\zgp.app\Co
ntents\Resources\lib
creating C:\Documents and Settings\Consumer\My Documents\ZGP\src\dist\zgp.app\Co
ntents\Resources\lib\python2.6
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\py2app-0.4.3-py2.6.egg\py2app\build_app.py
", line 589, in _run
self.run_normal()
File "C:\Python26\lib\site-packages\py2app-0.4.3-py2.6.egg\py2app\build_app.py
", line 660, in run_normal
self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "C:\Python26\lib\site-packages\py2app-0.4.3-py2.6.egg\py2app\build_app.py
", line 755, in create_binaries
target, arcname, pkgexts, copyexts, target.script)
File "C:\Python26\lib\site-packages\py2app-0.4.3-py2.6.egg\py2app\build_app.py
", line 1197, in build_executable
self.symlink('../../site.py', os.path.join(pydir, 'site.py'))
File "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) 

Thanks in advance.

Mike
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to