#18145: Cythonize optional extensions
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.6
Component: build | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/18145 | e56aeb2c9a190813096a0f7db1683d3d5bc774d1
Dependencies: #17860, #18095 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:7 fbissey]:
> OK so if (in the general case) the spkg is installed `OptionalExtension`
returns `Extension` but what does `CythonizeExtension` which is the
alternative result does?
I cannot really parse your question, but I'll try to answer it anyway:
`CythonizeExtension` is exactly like `Extension` except for the
`skip_build` attribute. There is some code added to `src/setup.py` which
checks this attribute. If `skip_build`, then the build (i.e. the `foo.c`
-> `foo.so` part) of the extension is skipped.
--
Ticket URL: <http://trac.sagemath.org/ticket/18145#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.