Compile/run individual Cython file from Sage's source?
I have been trying to understand how the 'generate_children' function works in the "binary_code.pyx" file, and so I would like to be able to edit and compile/run this file on its own without having to build the entirety of Sage each time. My attempts to try to do this with a "setup.py" file or using the command-line 'cythonize' command have led to a lot of complications, so I was wondering if there was a more straightforward way to do so. Do you have any advice on how to be able to compile/run an individual Cython file from the Sage source code? I guess this would also include compiling whatever dependencies would be required for it to run.
If you modify one cython file,
make
will only recompile this cython file and its few dependencies.make build
might be even better thanmake
for tinkering, since it won't rebuild any altered parts of the reference manual.