/tmp/cython/setup.py

https://bitbucket.org/prologic/circuits/ · Python · 17 lines · 13 code · 3 blank · 1 comment · 0 complexity · 8ba102687a618af5fb0760031a4211db MD5 · raw file

  1. #!/usr/bin/env python
  2. from distutils.core import setup
  3. from distutils.extension import Extension
  4. from Cython.Distutils import build_ext
  5. setup(
  6. name = "hello",
  7. description = "Hello World in Cython",
  8. cmdclass = {
  9. "build_ext": build_ext,
  10. },
  11. ext_modules = [
  12. Extension("hello", ["hello.pyx"]),
  13. ],
  14. )