[Distutils] extensions in packages
M.-A. Lemburg
mal@lemburg.com
Tue, 25 May 1999 11:41:13 +0200
Mark Hammond wrote:
>
> FWIW, I _do_ use DLLs in packages, and it causes me no end of grief. I
> need to have special runtime hacks that works with __path__, I need a
> special __init__ in the package where the DLL is to "appear", and also need
> even further special casing for Freeze!
I've been using DLL/SOs in packages with much success for some time
now. Don't know why you need any hacks to get this going though:
it works right out of the box for me.
The situation is a little different for frozen apps without shared
libs though: the extension modules will become top-level modules.
Haven't frozen those kinds of apps yet, but it should still work
out of the box (except maybe when you pass pickles from an
app using top-level modules to one using in-package modules).
--
Marc-Andre Lemburg
______________________________________________________________________
Y2000: 220 days left
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/