# This file is required to get pyximport to work with C++. # Switching from std::set to a pure C implementation is still on the table to simplify everything. def make_ext(modname, pyxfilename): from distutils.extension import Extension return Extension(name=modname, sources=[pyxfilename], language='c++')