[pyicu-dev] setup.py? Eggs?

Andi Vajda vajda at osafoundation.org
Tue Nov 29 14:33:45 PST 2005


On Tue, 29 Nov 2005, Jim Fulton wrote:

> Andi Vajda wrote:
>> 
>> On Tue, 29 Nov 2005, Jim Fulton wrote:
>> 
>>> 
>>> Is there any chance that we could get a distutils- or eggs-based 
>>> distribution
>>> for pyicu?
>> 
>> 
>> Are eggs ready for consumption ?
>
> I think so.
>
>> That or a distutils-based build would be great.
>
> I think that eggs are fairly easy to generate from a distutils
> distro.  A distutils distribution is the right place to start.
>
>> Another option would be a configure script, I'm not sure all that the 
>> Makefile is doing is supported by distutils (I know nothing about eggs 
>> yet).
>
> distutils is able to leverage the work that configure has already done for
> Python.

The other kink is that there is a shared library being built that is not a 
python extension. The reason for it is that I couldn't find any other way for 
all the other python extensions in PyICU to share common code on the Mac. On 
Mac OS X, python extension are bundles and you cannot link a bundle with 
another bundle.
Another option was to make all extensions be just one, and that is the way I 
started the project, but the SWIG generated C++ code just became too large.

Andi..



More information about the pyicu-dev mailing list