How to provide C++ version when extending python

Advertisements I want to make c++ code callable from python. https://docs.python.org/3/extending/ explains how to do this, but does not mention how to specify c++ version. By default distutils calls g++ with a bunch of arguments, however does not provide the version argument. Example of setup.py: from distutils.core import setup, Extension MOD = "ext" module =… Read More How to provide C++ version when extending python