from distutils.core import setup, Extension
simple_module = Extension('_simple', sources=['simple.i', 'simple.hh'],
    swig_opts=['-c++'])
setup(name='simple', ext_modules=[simple_module], py_modules=['simple'])
SWIG with C++ templates: undefined symbol