Dag Sverre Seljebotn wrote:

> Neal Becker wrote:
>> I grabbed a NEW tar from http://cython.org/Cython-0.11.rc.tar.gz.  (I
>> won't comment on the confusion caused by changing the file without
>> changing the name :)
>>
>> Now testing at least starts, but seems to have some errors:
>> (Ignore the
>> RPM build errors:
>>     Installed (but unpackaged) file(s) found:,
>> I'll fix those)
>>   
> 
> The problem is that NumPy appears to be installed on your system (import
> numpy succeeds), yet the NumPy C header files is not present in the
> include path.
> 
> Either set an extra include-path using the INCLUDE environment variable:
> 
> INCLUDE=/path/to/numpy/headers python runtests.py ...
> 
> or, drop the NumPy tests from the test suite (as I suppose your Cython
> RPM doesn't depend on NumPy -- it shouldn't!):
> 
> python runtests.py ... -x numpy
> 
> Dag Sverre

Here is code used to find the 'pyublas' includes.  Something like this could 
be used to find the numpy includes:

def pyublas_inc_path():
    from imp import find_module
    file, pathname, descr = find_module("pyublas")
    from os.path import join
    return join(pathname, "..", "include")



_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to