|
From: Zachary P. <zp...@st...> - 2006-01-15 08:23:07
|
Hello folks, I'm quite excited about the new release of numpy -- thanks for all the work. One question: where should I expect the arrayobject.h file to be installed? My old installation of Numeric placed the arrayobject.h (etc.) header files here: /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ Numeric/ I'm on OS X, using the standard 'framework' build of python, which accounts for the particular install path. However, this is the proper include path for python-related C headers. When I installed numpy, arrayobject.h was placed here, in the site- packages directory: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/numpy/core/include/numpy/arrayobject.h My question: is this an error (possibly specific to OS X) and the numpy headers should have been placed with the other C headers? Or is this a policy change which puts the headers in the site-packages directory? I'm writing some code which I hope to be compatible with Numeric, numarray, and numpy; being able to reliably find arrayobject.h is pretty important for this. Thus, it would be good to know where, in general, this file will be installed by numpy. Thanks, Zach Pincus Program in Biomedical Informatics and Department of Biochemistry Stanford University School of Medicine |