Opened 3 years ago

Last modified 3 years ago

#21600 closed enhancement

Use custom build_ext to compile Cython code — at Version 3

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-7.4
Component: build Keywords:
Cc: mkoeppe, embray Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #20596 Stopgaps:

Description (last modified by jdemeyer)

In src/setup.py, we should not run cythonize() manually. It would be better to use a custom build_ext command for that.

This is inspired by the build_ext from Cython 0.25: https://github.com/cython/cython/blob/master/Cython/Distutils/build_ext.py Unfortunately, we cannot really use that since it doesn't allow to pass options to cythonize().

Change History (3)

comment:1 Changed 3 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 3 years ago by jdemeyer

  • Summary changed from Use Cython's build_ext to Use custom build_ext to compile Cython code

comment:3 Changed 3 years ago by jdemeyer

  • Description modified (diff)
Note: See TracTickets for help on using tickets.