[Filter/Python/Meson] Revise python dependencies
authorWook Song <wook16.song@samsung.com>
Fri, 20 Mar 2020 08:29:27 +0000 (17:29 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 25 Mar 2020 06:33:08 +0000 (15:33 +0900)
commit271f436b92bf6e8b6c9498be04de42749ad1c3ff
tree35921af3f1d7c8a89cba00993d9a1a6e26d90c74
parent6026df5b9a05eafe987b4a99f797798d478b31ab
[Filter/Python/Meson] Revise python dependencies

Although python2_incs and python3_incs are defined for the purpose of
providing proper -I flags to the compiler, they are not used anywhere.
Therefore, even though meson finds numpy in the system, building the
python extensions is failed due to lack of the proper -I flags.
Moreover, the existing mechanism to find numpy could not cover the cases
when numpy is installed with pip using the user sheme or is installed in
the virtual environment. This patch concerns this issue.

Signed-off-by: Wook Song <wook16.song@samsung.com>
ext/nnstreamer/tensor_filter/meson.build
meson.build