[Pythonmac-SIG] Python Complier

Aahz aahz at pythoncraft.com
Sun Feb 14 03:05:20 CET 2010


[late response]

On Fri, Jan 15, 2010, Chuck Hauge wrote:
>
>   File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py", line 101, in copy_file
>     zf, zp = path_to_zip(source)
>   File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py", line 133, in path_to_zip
>     raise DistutilsFileError(path)
> DistutilsFileError: /private/tmp/GNS3-0.7RC1-src
> > /Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py(133)path_to_zip()
> -> raise DistutilsFileError(path)
> (Pdb) q
> Traceback (most recent call last):
>   File "/usr/local/bin/py2applet", line 8, in <module>
>     load_entry_point('py2app==0.4.3', 'console_scripts', 'py2applet')()
>   File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/script_py2applet.py", line 134, in main
>     build(args, scripts, data_files, options)
>   File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/script_py2applet.py", line 187, in build
>     target.appdir,
> AttributeError: 'Target' object has no attribute 'appdir'

This looks like setup.py for GNS3 is expecting to use a later setuptools
than what's in py2app 0.4.3 or is depending on a setuptools extension
(such as py2exe creates).  Try installing a later setuptools, maybe.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"


More information about the Pythonmac-SIG mailing list