Source

pythonwise / setup-for-swig.py

Full commit
1
2
3
4
5
6
7
from distutils.core import setup, Extension

setup(
    ext_modules = [
        Extension("_hello", sources=["hello.c", "hello.i"])
    ]
)