build: make install.py python 3 compatiable
This patch replaces usage of filter
in such a way that it will be
compatible with Python 3. Also, this patch replaces the usage of map
to do a side-effect work with normal for
loop.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
cc @nodejs/python @cclauss