from distutils.core import setup, Extension setup( ext_modules=[Extension('xmath', ['xmathmodule.c'])] )