Commit d53d89e0 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Added a note on the compilation with numpy to avoid confusion.

parent 084a25f5
......@@ -104,7 +104,13 @@ the necessary include files, e.g. for NumPy::
include_path = [numpy.get_include()]
Note for Numpy users. Despite this, you will still get warnings like the
.. note::
Using memoryviews or importing NumPy with ``import numpy`` does not mean that
you have to add the path to NumPy include files. You need to add this path only
if you use ``cimport numpy``.
Despite this, you will still get warnings like the
following from the compiler, because Cython is using a deprecated Numpy API::
.../include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment