/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/makesetup
The binary is a part of Python public framework.