[Pythonmac-SIG] py2app includes documentation?

Kaweh Kazemi kaweh.kazemi at chello.at
Thu Jun 8 22:13:19 CEST 2006


thanks, but is the setuptools-0.6b2-py2.4 egg broken? trying to build  
from svn does need that package, right? probably easiest if i install  
by hand. just wanted to report the problem.

kaweh$ p setup.py bdist_mpkg --open
Traceback (most recent call last):
   File "setup.py", line 89, in ?
     zip_safe=False,
   File "/Library/Frameworks/Python.framework/Versions/2.4//lib/ 
python2.4/distutils/core.py", line 110, in setup
     _setup_distribution = dist = klass(attrs)
   File "/Users/kaweh/Projects/3rd/py2app/setuptools-0.6b2-py2.4.egg/ 
setuptools/dist.py", line 219, in __init__
   File "/Users/kaweh/Projects/3rd/py2app/setuptools-0.6b2-py2.4.egg/ 
setuptools/dist.py", line 242, in fetch_build_eggs
   File "/Users/kaweh/Projects/3rd/py2app/setuptools-0.6b2-py2.4.egg/ 
pkg_resources.py", line 481, in resolve
   File "/Users/kaweh/Projects/3rd/py2app/setuptools-0.6b2-py2.4.egg/ 
pkg_resources.py", line 717, in best_match
   File "/Users/kaweh/Projects/3rd/py2app/setuptools-0.6b2-py2.4.egg/ 
pkg_resources.py", line 729, in obtain
   File "/Users/kaweh/Projects/3rd/py2app/setuptools-0.6b2-py2.4.egg/ 
setuptools/dist.py", line 274, in fetch_build_egg
AttributeError: Distribution instance has no attribute  
'dependency_links'

cheers,
kw.

On 08.06.2006, at 20:43, Ronald Oussoren wrote:

>
> On 8-jun-2006, at 18:55, Kaweh Kazemi wrote:
>
>> hi there,
>>
>> seems that py2app includes the python documentation into the
>> application bundle if it's installed on the system?
>>
>> myApp/dist/myApp.app/Contents/Frameworks/Python.framework/Versions/
>> 2.4/Resources/English.lproj/Documentation
>>
>> i assume it's because it just copies the Python.framework, correct?
>> any way to prevent that? i really do not need the documentation in
>> the application bundle. :)
>
> The version of py2app that you get when you install PyObjC from SVN  
> doesn't copy the documentation.
>
> Ronald
>



More information about the Pythonmac-SIG mailing list