[pyicu-dev] setup.py? Eggs?
Andi Vajda
vajda at osafoundation.org
Wed Nov 30 10:16:14 PST 2005
On Wed, 30 Nov 2005, Jim Fulton wrote:
> Hm. C++. Dang.
It could be worse, I could be wrapping Java ICU :)
> A nice way to share Python (and limited C) objects accross modules
> is Python's own module system. One of your extensions could define the
> exception and the other exceptions could then import this exception
> from the extension that defined it. I think this would be much cleaner
> than fooling with a shared library.
Funny you say that. PJE just said you would say that :)
Frankly, I don't know if replacing the dynamic linker with hand coded python
calls is cleaner, but it sure is something that works. I've used it before
but, if I can avoid it, I'd rather do so.
PJE also mentioned that someone had been working on an extension to
distutils to build such shared libraries. He pointed out this thread:
http://mail.python.org/pipermail/distutils-sig/2005-October/005229.html
If this were completed and available (even with the random OS X related
omission or bug which I could easily fix), it would solve the problem and
allow us to use the dynamic linker.
Andi..
More information about the pyicu-dev
mailing list