Python extensions deep in a heirarchy?

Elf M. Sternberg elf at drizzle.com
Mon Jul 8 20:13:57 EDT 2002


I want to have a namespace with python 'C' extensions deeper into the 
heirarchy than just one directory.  For example:

foo/logging/mylogging.so
            __init__.py
    __init__.py
__init__.py

But for some reason I can't seem to get python to recognize the extension 
when it's this deep.  Are there any examples where folks have mananged to 
make this work?  It's driving me nuts.  What would I put into 
"InitModule"?  foo.logging.mylogging or just mylogging?  How would I find 
it once I'd used it?  

Any help will be greatly appreciated!

		Elf

-- 
Elf M. Sternberg
http://www.drizzle.com/~elf/       (under construction)




More information about the Python-list mailing list