On 28-mrt-2006, at 18:26, Christopher Barker wrote:

> Ronald Oussoren wrote:
>
>> For casual users it is easier to install mpkgs, hence we'll need
>> mpkgs until someone writes the tool that allows one to double-click
>> on eggs to install them. I'm tempted to do so myself just to avoid
>> packaging stuff twice :-)
>>
>> Mpkgs have another advantage: they allow you to include documentation
>> and examples into the package. None of the existing packages on
>> pythonmac.org
>> (except for pyobjc and possibly py2app) actually use this  
>> possibility,
>> therefore I'd say this is not a very important advantage.
>
> Doesn't the wxPython package?
>
> Anyway, another advantage of eggs is that they can be versioned, so  
> that
> users can have different versions of a package installed at once.
>
> Couldn't we put a *.egg into a *.mpkg? and get the best of both  
> worlds?

There's currently two ways to easily build redistributable packages for
OSX: the oldest is bdist_mpkg, the newer is bdist_egg.

bdist_mpkg is/was part of py2app and includes a script that allows you
to build a .mpkg for every python package that includes a setup.py  
script.

bdist_egg is part of setuptools and AFAIK doesn't include a tool for  
building
eggs for python packages that don't support it, but there is an easy way
to build them.

There is not yet an easy way to place an egg into a .mpkg, although  
Bob has
indicated that he wants to restructure bdist_mpkg to to this.

Ronald

>
> -Chris
>
>
>
> -- 
> Christopher Barker, Ph.D.
> Oceanographer
>                                               
> NOAA/OR&R/HAZMAT         (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> [EMAIL PROTECTED]
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to