4 ms·
Once you get into distributing python package, it is such a nightmare. Relative imports were also not easy to understand. And C/C++ extensions in your package
by dilawar 5y ago
Once you get into distributing python package, it is such a nightmare. Relative imports were also not easy to understand.
And C/C++ extensions in your package makes things even worse. CMake for extension, setup.py for python of you hope to build cross-platform.
Pybind11 helped a bit but for each python version you have to compile the wheel again, even with manylinux docker image. Imagine learning docker so you can release a wheel!
The other language I often use, C++, is also no better. I am drawn to Rust and Nim lately (not entirely because of these issues).