blob: 81b4adb53b01356c702454cd1f444c8426c60d3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#
# A minimal example of setup.py to install a Python module
# together with the custom C extension module generated by CFFI.
#
from distutils.core import setup
from distutils.extension import Extension
import bsdopendirtype
setup(name='bsdopendirtype',
py_modules=['bsdopendirtype'],
ext_modules=[bsdopendirtype.ffi.verifier.get_extension()])
|