/setup.py

http://github.com/sushantkhurana/Python-C-Extension · Python · 10 lines · 7 code · 3 blank · 0 comment · 0 complexity · 33bb8ebd8525bc0b1acc25293847bf06 MD5 · raw file

  1. from distutils.core import setup, Extension
  2. hw_module = Extension('helloWorld',
  3. sources = ['helloWorld.cpp'])
  4. setup (name = 'helloWorld',
  5. version = '1.0',
  6. description = 'C module test',
  7. ext_modules = [hw_module])