fake python modules via symlinks: on windows?
Posted
by
eudoxos
on Stack Overflow
See other posts from Stack Overflow
or by eudoxos
Published on 2012-10-05T09:36:11Z
Indexed on
2012/10/05
9:37 UTC
Read the original article
Hit count: 438
I have several compiled python modules; they are put into a single .so (to avoid runtime linking, there are cross-module symbol dependencies), but a number of symlinks points to this .so:
libfoo.so -> liball.so
libbar.so -> liball.so
liball.so
This way, I can do import foo (Python will call initfoo() defined in liball.so) or import bar (calls initbar()).
I am wondering if this approach will work on Windows?
© Stack Overflow or respective owner