Bug 185079 - Should we install numpy headers in /usr/include instead?
Summary: Should we install numpy headers in /usr/include instead?
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: numpy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords: FutureFeature, Reopened
Depends On:
Blocks: 185397
TreeView+ depends on / blocked
 
Reported: 2006-03-10 12:47 UTC by Neal Becker
Modified: 2010-03-02 19:03 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-03-02 18:27:04 UTC


Attachments (Terms of Use)

Description Neal Becker 2006-03-10 12:47:36 UTC
Description of problem:  
  
Headers in site-packages/ /numpy/core/include/numpy should probably be 
installed to /usr/include/python-version/numpy/ 
 
Version-Release number of selected component (if applicable):  
  
  
How reproducible:  
  
  
Steps to Reproduce:  
1.  
2.  
3.  
    
Actual results:  
  
  
Expected results:  
  
  
Additional info:

Comment 1 Ignacio Vazquez-Abrams 2006-03-17 13:45:38 UTC
How much would code using these headers have to change in order to work with this?

Comment 2 Neal Becker 2006-04-16 12:22:03 UTC
I don't know.  What code is using these headers and expecting to find it in 
the original location? 
 
I forgot the original motivation for this request, but I suspect it was 
because I couldn't build scipy without this change. 

Comment 3 Jarod Wilson 2006-09-05 20:42:43 UTC
For the moment, I'm going to close this wontfix, since neither the impacts or
benefits are known at the moment. I have no problem moving them with proper
justification though, so feel free to reopen if there's a compelling reason to
do so.

Comment 4 Thomas Spura 2010-02-19 13:34:12 UTC
(In reply to comment #3)
> For the moment, I'm going to close this wontfix, since neither the impacts or
> benefits are known at the moment. I have no problem moving them with proper
> justification though, so feel free to reopen if there's a compelling reason to
> do so.    

Reopening.

When using cython and 'cimport numpy as np' cython wants to have that headers in /usr/include/ and therefore it would be great to have them there. For now I just copied the header files manually :(


(In reply to comment #1)
> How much would code using these headers have to change in order to work with
> this?    

Cython uses a setup.py file, see [1] to this would need to be changed upstream completely. Because upstream didn't do that before, I assume, they use a distro, in which the headers are in /usr/include/

Ubuntu symlinks from /usr/include/numpy -> /usr/share/pyshared/numpy/core/include/numpy
[2]


[1] http://docs.cython.org/src/userguide/source_files_and_compilation.html#basic-setup-py
[2] http://packages.ubuntu.com/search?searchon=contents&keywords=numpy&mode=filename&suite=karmic&arch=any

Comment 5 Gwyn Ciesla 2010-02-23 21:29:14 UTC
Would a symlink for a directory suffice here?

Comment 6 Neal Becker 2010-02-24 01:11:24 UTC
I don't see why not, although I think for Fedora this is a bit unconventional.

Comment 7 Neal Becker 2010-02-25 00:54:45 UTC
Looks like the same subject was discussed here:

http://permalink.gmane.org/gmane.comp.python.numeric.general/36425

Comment 8 Gwyn Ciesla 2010-03-02 18:27:04 UTC
Fixed and built in rawhide.

Comment 9 Neal Becker 2010-03-02 18:45:30 UTC
What is the decision then?  Install headers?  Install symlinks?  Do neither?

Comment 10 Gwyn Ciesla 2010-03-02 19:03:07 UTC
1 symlink.


Note You need to log in before you can comment on or make changes to this bug.