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 in correct version.
Parameters: | pkg_name : str or sequence of str
version : str, optional
optional : bool, optional
checker : callable, optional
version_getter : callable, optional:
messages : dict, optional
show_only : bool
|
---|