"src/webui/vscode:/vscode.git/clone" did not exist on "bb5534ca995390c57956fe9f4d1785a0a9260732"
  • Lei Wang's avatar
    [Enhancement] Add ahead of time cython compilation in setup.py (#622) · 5101e6bc
    Lei Wang authored
    * [Enhancement] Add Cython support and compiler detection in setup.py
    
    - Introduced a new `CythonExtension` class for building Cython-based extensions, enhancing the build process for Cython projects.
    - Implemented functions to detect the Cython compiler and C++ compiler, improving compatibility and user experience.
    - Updated the build process to handle Cython extensions alongside CMake extensions, ensuring a seamless integration for users.
    - Added caching mechanisms for Cython compilation to optimize build times and reduce unnecessary recompilation.
    
    * [Enhancement] Add Cython dependency and enable CMake extension building
    
    - Added Cython as a required dependency in `pyproject.toml` to support Cython-based extensions.
    - Updated `setup.py` to enable building CMake extensions, improving the build process for projects utilizing both Cython and CMake.
    - Modified the Cython compiler detection logic to streamline installation instructions for users.
    5101e6bc
setup.py 34.3 KB