Current Path: > > opt > cloudlinux > venv > lib > python3.11 > site-packages > numpy > distutils > > command
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 1032 bytes | April 17 2025 13:10:58. | |
autodist.py | File | 3718 bytes | April 17 2025 13:10:58. | |
bdist_rpm.py | File | 709 bytes | April 17 2025 13:10:58. | |
build.py | File | 2613 bytes | April 17 2025 13:10:58. | |
build_clib.py | File | 19278 bytes | April 17 2025 13:10:58. | |
build_ext.py | File | 32276 bytes | April 17 2025 13:10:58. | |
build_py.py | File | 1144 bytes | April 17 2025 13:10:58. | |
build_scripts.py | File | 1665 bytes | April 17 2025 13:10:58. | |
build_src.py | File | 31162 bytes | April 17 2025 13:10:58. | |
config.py | File | 20670 bytes | April 17 2025 13:10:58. | |
config_compiler.py | File | 4369 bytes | April 17 2025 13:10:58. | |
develop.py | File | 575 bytes | April 17 2025 13:10:58. | |
egg_info.py | File | 921 bytes | April 17 2025 13:10:58. | |
install.py | File | 3073 bytes | April 17 2025 13:10:58. | |
install_clib.py | File | 1399 bytes | April 17 2025 13:10:58. | |
install_data.py | File | 848 bytes | April 17 2025 13:10:58. | |
install_headers.py | File | 919 bytes | April 17 2025 13:10:58. | |
sdist.py | File | 733 bytes | April 17 2025 13:10:58. |
import os from distutils.core import Command from distutils.ccompiler import new_compiler from numpy.distutils.misc_util import get_cmd class install_clib(Command): description = "Command to install installable C libraries" user_options = [] def initialize_options(self): self.install_dir = None self.outfiles = [] def finalize_options(self): self.set_undefined_options('install', ('install_lib', 'install_dir')) def run (self): build_clib_cmd = get_cmd("build_clib") if not build_clib_cmd.build_clib: # can happen if the user specified `--skip-build` build_clib_cmd.finalize_options() build_dir = build_clib_cmd.build_clib # We need the compiler to get the library name -> filename association if not build_clib_cmd.compiler: compiler = new_compiler(compiler=None) compiler.customize(self.distribution) else: compiler = build_clib_cmd.compiler for l in self.distribution.installed_libraries: target_dir = os.path.join(self.install_dir, l.target_dir) name = compiler.library_filename(l.name) source = os.path.join(build_dir, name) self.mkpath(target_dir) self.outfiles.append(self.copy_file(source, target_dir)[0]) def get_outputs(self): return self.outfiles
SILENT KILLER Tool