OILS / demo / swig / setup.py View on Github | oilshell.org

19 lines, 12 significant
1"""
2setup.py file for SWIG example
3"""
4
5from distutils.core import setup, Extension
6
7
8example_module = Extension('_example',
9 sources=['demo/swig/example_wrap.cxx', 'demo/swig/example.cc'],
10 language='c++',
11 )
12
13setup (name = 'example',
14 version = '0.1',
15 author = "SWIG Docs",
16 description = """Simple swig example from docs""",
17 ext_modules = [example_module],
18 py_modules = ["example"],
19 )