1 | """ |
2 | setup.py file for SWIG example |
3 | """ |
4 | |
5 | from distutils.core import setup, Extension |
6 | |
7 | |
8 | example_module = Extension('_example', |
9 | sources=['demo/swig/example_wrap.cxx', 'demo/swig/example.cc'], |
10 | language='c++', |
11 | ) |
12 | |
13 | setup (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 | ) |