Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.625 kB
"""
Use to convert *.pyx in the Bottleneck sandbox to a C file and compile it.
This setup.py is NOT used to install the Bottleneck package. The Bottleneck
setup.py file is bottleneck/setup.py
To convert from cython to C:
$ cd bottleneck/sandbox
$ python setup.py build_ext --inplace
"""
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
ext_modules = [Extension("nanmean", ["nanmean.pyx"],
include_dirs=[numpy.get_include()])]
setup(
name = 'nanmean',
cmdclass = {'build_ext': build_ext},
ext_modules = ext_modules
)
Jump to Line
Something went wrong with that request. Please try again.