pycurious/fix
view basic/setup.py @ 1:1f54edaaab02
Added SWIG typemap example.
| author | James Brotchie <brotchie@gmail.com> |
|---|---|
| date | Fri Dec 04 22:50:30 2009 +1000 (2 years ago) |
| parents | |
| children |
line source
1 #!/usr/bin/env python
2 from distutils.core import setup, Extension
4 test_module = Extension('_test',
5 sources=['test.c', 'test.i'])
7 setup (name = 'test',
8 version = '0.1',
9 author = "James Brotchie <brotchie@gmail.com>",
10 description = """Example SWIG wrapper using a typemap""",
11 ext_modules = [test_module],
12 py_modules = ["test"],
13 )
