[Pythonmac-SIG] bdist_mpkg questions

Ronald Oussoren ronaldoussoren at mac.com
Sun Jun 5 23:40:38 CEST 2005


On 3-jun-2005, at 23:33, Bob Ippolito wrote:
>>
>> artoo% bdist_mpkg -h
>> Traceback (most recent call last):
>>   File "/usr/local/bin/bdist_mpkg", line 2, in ?
>>     from bdist_mpkg.scripts.script_bdist_mpkg import main
>> ImportError: No module named bdist_mpkg.scripts.script_bdist_mpkg
>>
>
> Did you have some old installation of py2app or PyObjC?  It was
> organized differently many versions ago and can cause stuff like
> this.  Clean out any of /Library/Python/2.3 that is also in /Library/
> Python/2.3/py2app (i.e. bdist_mpkg, macholib, etc.).  You might as
> well rip out the py2app folder in there too and reinstall, just in  
> case.

Can bdist_mpkg be told to force the usage of the extra_dir option in  
distutils
and then forcefully remove that directory in a preinstall/preupgrade  
script? That
would remove most issues with restructuring of packages.

Ronald



More information about the Pythonmac-SIG mailing list