c_api_prereqs#
- scikitplot.cython.c_api_prereqs()[source]#
Check prerequisites for Scenario 5: master, own C-API.
Validates Cython (for
.pyxtranspilation), NumPy (fornumpy/arrayobject.h), and setuptools (for the build extension infrastructure).Notes
Master user note: use
collect_c_api_sourcesto glob C source trees. Pass the result asextra_sourcestoscikitplot.cython.compile_and_load.Examples
>>> result = c_api_prereqs() >>> all(k in result for k in ("cython", "numpy", "setuptools")) True