setup.py 332 B

12345678910111213141516
  1. #!/usr/bin/env python
  2. from distutils.core import setup,Extension
  3. setup(name="gpib",
  4. version="1.0",
  5. description="Linux GPIB Python Bindings",
  6. py_modules = ['Gpib'],
  7. ext_modules=[
  8. Extension("gpib",
  9. ["gpibinter.c"],
  10. include_dirs=["../../include"],
  11. library_dirs = ['../../lib/.libs'],
  12. libraries=["gpib", "pthread"]
  13. )]
  14. )