add default induced includes to swig parser
move default includes lists to config
([arc::pullid] a9508be3-f31c0ba3-77c5ebb0-18817ab1)
@@ -204,6 +204,14 @@ elsewhen ($OS_WINDOWS) {
CYTHON_OPTIONS += -E UNAME_SYSNAME=Windows
}
+SWIG_DEFAULT_INCLUDES=\
+ contrib/tools/swig/Lib/python/python.swg \
+ contrib/tools/swig/Lib/swig.swg
+SWIG_DEFAULT_INDUCED=\
+ contrib/libs/python/Include/Python.h \
+ string.h \
+ stdexcept
+
# PYTHON_DISTR={ "default" | "macos-brew" } determine python system supply
# see build/platform/python/ya.make
