The first stage is handled by the cython compiler, which transforms Cython source into optimized and platform- independent C or C++ code. It can be integrated into standard build systems such as make, CMake, or SCons.īut in all cases, each method passes Cython code through two compilation stages to generate a compiled module that Python can import and use.It can be separately compiled by build tools like Python’s distutils.It can also be compiled automatically at import time. There are several options to compile Cython.Ĭython code can be compiled and run interactively from an IPython interpreter. In this post, we are going to explore how to set up the development environment for Cython on your system.įirst we will see the various ways to compile Cython code so that it can be run by Python.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |