setup.py 358 B

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