Build helpers for setup.py.
Includes package dependency checks and monkey-patch to numpy.distutils to work with Cython.
The original version of this file was adapted from NiPy project [1].
[1] http://nipy.sourceforge.net/
Distutils Command class to clean, enhanced to clean also files generated during python setup.py build_ext –inplace.
Monkey patch for numpy build_src.build_src method
Uses Cython instead of Pyrex.
Check if package pkg_name is present, and correct version
Parameters: | pkg_name : str or sequence of str
version : {None, str}, optional
optional : {False, True}, optional
checker : callable, optional
version_getter : {None, callable}:
messages : None or dict, optional
|
---|