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

Comment (by fbissey):

 Fields notes:
  * One would expect all `.py` files to be installed but
 `src/sage/doctest/tests/nodoctest.py` isn't.
  * `sage/misc/lazy_import_cache.py` has a test for the presence of `src`
 in the value of `get_cache_file()` I am not quite sure what is the point
 of this or why it needs to point to `SAGE_SRC` honestly. But that's out of
 this ticket's scope.

 Found that out in sage-on-gentoo by installing manually all headers, pxi,
 pxd, .rst files plus generated headers, fixing pxi.h, not installing the
 sources at all and pointing `SAGE_SRC` to `/usr/lib64/python2.7/site-
 packages`. I am relatively impressed at how well that went but I am know
 for a fact that some doctests were not run by my `sage -t --long --all`
 command (there is one doctest currently timing out on my sage-on-gentoo
 install and it was definitely not run).

 Now I have to seriously find a way of mostly generating all that stuff and
 to put it in `data_files` in `setup.py`.

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