Wrap generated C code with tiny python functionalities
bstellato opened this issue · comments
Main idea:
- Generate setup.py similarly to pre-1.0 versions
- Wrap these functionalities with new pybind11-based code
osqp-python/src/osqp/codegen/files_to_generate/emosqpmodule.c
Lines 666 to 679 in f486931
- Simplify solution structure as in
osqp-python/src/osqp/codegen/files_to_generate/emosqpmodule.c
Lines 262 to 264 in f486931
- Compile python wrapper as in the pre-1.0 version
This is complete now in develop-1.0