[Cython] cython-0.11.rc: Updated tar, test fails (but gets further)
Stefan Behnel
stefan_ml at behnel.de
Tue Mar 10 16:29:20 CET 2009
Lisandro Dalcin wrote:
> On Tue, Mar 10, 2009 at 12:53 PM, Stefan Behnel wrote:
>> I'm fine with using it in runtest.py. We test for NumPy anyway when
>> setting up the test suite, so we can just as well go all the way.
>> Requiring a user to set up a specific build environment just to run the
>> test suite is wrong.
>>
>> I'm against adding any special handling to the distutils modules,
>> though.
>> Having NumPy installed doesn't imply that you want to use its header
>> files.
>
> I just asked for automating the numpy include in runtest.py !! I have
> numpy installed, I run the testsuite, and almost all times I forget
> to setenv INCLUDE, thus the numpy test fails... If the numpy test is
> enabled by default depending on numpy being installed, why should
> manually setup my environment? That's an nonsense, and even more when
> numpy provides a canonical, long-time supported way to get their
> include directory ...
>
> Regarding hacking distutils for the heck of numpy support, please no!
> That would be a very bad thing... Anyway, anyone using numpy can all
> "numpy.get_include()" to easily get the numpy include directory, it is
> really easy....
Thanks for rephrasing my thoughts. :)
Please supply a fix for runtests.py.
Stefan
More information about the Cython-dev
mailing list