using something similar to ctypes dlopen?

I would like to be able to create a wrapper for a library that can
built on the client machine without the necessity of the target
libraries being present.

Then, upon import of the library, the library would check for the
presence of the .so's and raise an exception if they are not found.

This way, once the user installs the libraries, the functionality
automagically works.

I've searched around, but not really found anything on the topic.

Is it as easy as just using "cdef extern from dlfcn.h" and declaring
the appropriate dlopen machinery and using as normal?

Cheers!

Chris
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to