/tmp/cython/setup.py
Python | 17 lines | 13 code | 3 blank | 1 comment | 0 complexity | 8ba102687a618af5fb0760031a4211db MD5 | raw file
- #!/usr/bin/env python
- from distutils.core import setup
- from distutils.extension import Extension
- from Cython.Distutils import build_ext
- setup(
- name = "hello",
- description = "Hello World in Cython",
- cmdclass = {
- "build_ext": build_ext,
- },
- ext_modules = [
- Extension("hello", ["hello.pyx"]),
- ],
- )