Creating a "package" using C extensions?

Courageous jkraska at san.rr.com
Sat Dec 8 13:59:15 EST 2001


So. I've written Python C extensions before. And I've
written Python packages before, with subdirectories and
__init__.py files and so forth before. What I'm unclear
on is the proper way to combine these.

I can see that if I just used a normal __init__.py and
then pointed it to C extension dlls, this would probably
work.

Is this the approved way of doing this?

Is there a way to govern the entire thing entirely from
C? IOW, is there a __init__.py equivalent for C modules?

C//




More information about the Python-list mailing list