/usr/local/lib64/python3.6/site-packages/numpy/distutils/command
NameSizeModeActions
__pycache__/-0755rm
autodist.py37180644editdlrm
bdist_rpm.py7090644editdlrm
build.py13820644editdlrm
build_clib.py137320644editdlrm
build_ext.py263230644editdlrm
build_py.py11440644editdlrm
build_scripts.py16650644editdlrm
build_src.py311800644editdlrm
config.py206280644editdlrm
config_compiler.py43690644editdlrm
develop.py5750644editdlrm
egg_info.py9210644editdlrm
install.py30780644editdlrm
install_clib.py13990644editdlrm
install_data.py8480644editdlrm
install_headers.py9190644editdlrm
sdist.py7330644editdlrm
__init__.py10320644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/numpy/distutils/command/install_headers.py (919B)
import os from distutils.command.install_headers import install_headers as old_install_headers class install_headers (old_install_headers): def run (self): headers = self.distribution.headers if not headers: return prefix = os.path.dirname(self.install_dir) for header in headers: if isinstance(header, tuple): # Kind of a hack, but I don't know where else to change this... if header[0] == 'numpy.core': header = ('numpy', header[1]) if os.path.splitext(header[1])[1] == '.inc': continue d = os.path.join(*([prefix]+header[0].split('.'))) header = header[1] else: d = self.install_dir self.mkpath(d) (out, _) = self.copy_file(header, d) self.outfiles.append(out)