#18494: Install sage headers and auxiliary files (.h/.pxd/.pxi files)
-------------------------------------+-------------------------------------
       Reporter:  fbissey            |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  distribution       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  François Bissey    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/fbissey/headers_install          |  d76f95f41bb890dc742fe20a3c5880e765ea2fe4
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 I would still like to use as much as possible the same headers in
 `src/setup.py` and in `cython.py`. You could make a function
 {{{
 @cached_function
 def sage_include_directories(sage_lib_dir):
     """
     Return the list of include directories for compiling Sage extension
 modules.
     """
     import numpy   # not a global import!
     return [.......]
 }}}
 returning the include directories for `cython()` if `sage_lib_dir` is
 `SAGE_LIB` and returning the include directories for `src/setup.py` if
 `sage_lib_dir` is `SAGE_SRC`. I haven't thought about is that much, but I
 think that's the right direction to go.

 And I do indeed agree that `sage/gsl` should be removed.

--
Ticket URL: <http://trac.sagemath.org/ticket/18494#comment:22>
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.

Reply via email to