#18142: Numpy: fix dependency checking of headers
--------------------------------------+------------------------
       Reporter:  jdemeyer            |        Owner:
           Type:  enhancement         |       Status:  new
       Priority:  major               |    Milestone:  sage-6.6
      Component:  packages: standard  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:  Jeroen Demeyer      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------
Description changed by jdemeyer:

Old description:

> To make the logic in `src/setup.py` easier, we should just symlink the
> numpy includes (which are in `local/lib/python/site-
> packages/numpy/core/include/numpy`) to `local/include/numpy`.
>
> We also `touch` the includes to fix dependency checking.
>
> The removal of the manual `numpy` dependencies only removed the `numpy`
> dependency of `src/sage/finance/fractal.pyx` (which doesn't use `numpy`,
> so the change is correct).

New description:

 1. In `src/setup.py`, use `numpy.get_include()` to determine the location
 of the `numpy` includes.
 1. When installing `numpy`, touch the includes to fix dependency checking.
 1. Remove all the manual numpy header and dependency stuff from
 `src/module_list.py`.

 The removal of the manual `numpy` dependencies only removed the `numpy`
 dependency of `src/sage/finance/fractal.pyx` (which doesn't use `numpy`,
 so the change is correct).

--

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