PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
distutils
/
command
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)
[-] build_clib.py
[open]
[-] build_py.py
[open]
[-] build.py
[open]
[+]
..
[-] sdist.py
[open]
[-] build_ext.py
[open]
[+]
__pycache__
[-] develop.py
[open]
[-] install_clib.py
[open]
[-] install_headers.py
[open]
[-] autodist.py
[open]
[-] egg_info.py
[open]
[-] install.py
[open]
[-] config_compiler.py
[open]
[-] config.py
[open]
[-] build_scripts.py
[open]
[-] build_src.py
[open]
[-] __init__.py
[open]
[-] bdist_rpm.py
[open]
[-] install_data.py
[open]