I’m trying to package the ffcv python library. I have a draft PR that almost works. It’s just getting hung up trying to import the C++ extension in tests:
E ModuleNotFoundError: No module named 'ffcv._libffcv'
Does anyone have any idea what could be going on here? Why isn’t the extension automatically included in PYTHONPATH?
It seems to work perfectly fine if I just skip the test suite, so there’s some divergence between the test environment and the built package.
The built .so appears to live in build/lib.linux-x86_64-3.9/ffcv/_libffcv.cpython-39-x86_64-linux-gnu.so. Why is that not in PYTHONPATH when running tests?