forked from Yona-Appletree/LEDscape
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (19 loc) · 663 Bytes
/
setup.py
File metadata and controls
24 lines (19 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
"""
setup.py file for SWIG example
"""
from distutils.core import setup, Extension
matrix_module = Extension('_matrix',
sources=['matrix_wrap.cxx', 'matrix.cpp',
'gfx.cpp', 'pixel.cpp', 'pru.c', 'util.c',
'glcdfont.c'],
library_dirs=['/usr/local/lib'],
libraries=['prussdrv'],
)
setup (name = 'matrix',
version = '0.1',
author = "SWIG Docs",
description = """Simple swig example from docs""",
ext_modules = [matrix_module],
py_modules = ["matrix"],
)