from sysconfig import get_path, get_config_var
version = "{}.{}".format(*sys.version_info)
-abiflags = get_config_var("ABIFLAGS")
macros = {
"py3_ver": version,
"py3_prefix": sys.prefix,
# hack-fix for bnc#787526 - get_path can't be used this way in python build dir
# "py3_incdir": get_path("include"),
- "py3_incdir": "/usr/include/python" + version + abiflags,
- "py3_abiflags": abiflags,
+ "py3_incdir": "/usr/include/python" + version ,
"py3_soflags": get_config_var("SOABI"),
"python3_sitelib": get_path("purelib"),
"python3_sitearch": get_path("platlib"),