What I did was to pass extra compile args to use C++17, you can check my setup.py file here 28 for an example. However, I stopped at the PoC level, and didn’t try to build anything realistic out of it.