"""
setup.py
"""
from distutils.core import setup, Extension
example_module = Extension('_example',
            sources=['example_wrap.c', 'example.c'],
            )
setup (name = 'example',
  version = '0.1',
  author      = "SWIG Docs",
  description = """Simple swig example from docs""",
  ext_modules = [example_module],
  py_modules = ["example"],
  )

Create setup.py