Cython is used to compile some hot paths into native Python extensions. These hot paths were identified through running ufocompile with the hotshot profiler and then converting file by file to Cython, starting with the "hottest" paths and continuing until returns were deminishing. This means that only a few Python files were converted to Cython. Closes #23 Closes #20 (really this time)
13 lines
262 B
Python
13 lines
262 B
Python
from distutils.core import setup
|
|
from distutils.extension import Extension
|
|
from Cython.Distutils import build_ext
|
|
|
|
ext_modules = [
|
|
Extension("copy", ["copy.pyx"]),
|
|
]
|
|
|
|
setup(
|
|
name = 'copy',
|
|
cmdclass = {'build_ext': build_ext},
|
|
ext_modules = ext_modules
|
|
)
|