-
-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Description
There are some issues with cython spyx files:
- There is still nothing in the documentation anywhere in sage about cinclude, clib, etc. Here's a hint:
Basically you put
# clang c
# clib cblas
# cfile myfile.c
# cinclude "/usr/local/include"
Questions -- where can one put these? Must the # be there?
However this is documented, at a bare minimum typing
sage: cython?
sage: load?
sage: attach?
should give enough information to find docs that clearly explain this cinclude, etc. directives.
- Create a file a.pxi and a file b.pyx. Put one of the # directives in the .pxi file and include the pxi file in the pyx file. The directive is ignored. This caused a ton of confusion today.
Component: user interface
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/1994