[Pythonmac-SIG] Why Do I Explicitly Need MacPython

konrad.hinsen at laposte.net konrad.hinsen at laposte.net
Thu Sep 28 09:24:17 CEST 2006


On 27.09.2006, at 19:35, Bob Ippolito wrote:

>> What I was looking for is actually a bit more modest: I want to
>> create an installer that checks that all dependencies are fulfilled.
>> Bundling everything in one installer is not always a good idea, as it
>> could easily overwrite an already existing installation of some
>> component.
>
> You can do that from the plist, but you're going to have a hard time
> determining what version of something is installed if they didn't
> install it with a pkg installer.

True, but I don't mind. The users I am thinking of know nothing about  
Python and would just install packages. I want to be able to warn  
them if they forget one or try to install them in the wrong order.

At the moment I I hand-edit the plist to add such checks, but that's  
not much fun. Can bdist_mpkg (or some other tool) do this as part of  
an automated build procedure?

If there is no such tool, I guess it would be easy to write in  
Python, if only one could assume that the plist is always XML and not  
binary. Would that be a safe assumption, at least for packages  
produced by bdist_mpkg?

Konrad.





More information about the Pythonmac-SIG mailing list