[Pythonmac-SIG] bdist_mpkg questions

Bob Ippolito bob at redivi.com
Mon Jun 6 01:40:09 CEST 2005


On Jun 5, 2005, at 2:40 PM, Ronald Oussoren wrote:

>
> 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.

Well in the case of py2app, the problem is that I moved from not  
using extra_path, to using extra_path...  If I added the  
functionality now, it wouldn't help.

-bob



More information about the Pythonmac-SIG mailing list