"Michael Schwarz" <michi.schw...@gmail.com> wrote:
So how do I run my code so it will find the built extension module? Do I pass the output directory on the command line manually or is there some other solution? I would like to still be able to run the code from the source directory as I'm using PyCharm to edit and debug the code.
Doesn't Python on Linux (I assume that since you mentioned the module's .so) support having current-dir '.' in $PYTHONPATH? Works fine on Windows. Check with "python -v script.py | grep <your .so>". --gv -- https://mail.python.org/mailman/listinfo/python-list