Current Path: > > opt > cloudlinux > venv > lib > python3.11 > site-packages > numpy > distutils > >
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 | - | - | |
checks | Directory | - | - | |
command | Directory | - | - | |
fcompiler | Directory | - | - | |
mingw | Directory | - | - | |
tests | Directory | - | - | |
__config__.py | File | 5143 bytes | April 17 2025 13:10:58. | |
__init__.py | File | 2074 bytes | April 17 2025 13:10:58. | |
__init__.pyi | File | 119 bytes | April 17 2025 13:10:58. | |
_shell_utils.py | File | 2613 bytes | April 17 2025 13:10:58. | |
armccompiler.py | File | 962 bytes | April 17 2025 13:10:58. | |
ccompiler.py | File | 28618 bytes | April 17 2025 13:10:58. | |
ccompiler_opt.py | File | 100335 bytes | April 17 2025 13:10:58. | |
conv_template.py | File | 9536 bytes | April 17 2025 13:10:58. | |
core.py | File | 8173 bytes | April 17 2025 13:10:58. | |
cpuinfo.py | File | 22639 bytes | April 17 2025 13:10:58. | |
exec_command.py | File | 10283 bytes | April 17 2025 13:10:58. | |
extension.py | File | 3568 bytes | April 17 2025 13:10:58. | |
from_template.py | File | 7913 bytes | April 17 2025 13:10:58. | |
fujitsuccompiler.py | File | 834 bytes | April 17 2025 13:10:58. | |
intelccompiler.py | File | 4234 bytes | April 17 2025 13:10:58. | |
lib2def.py | File | 3630 bytes | April 17 2025 13:10:58. | |
line_endings.py | File | 2032 bytes | April 17 2025 13:10:58. | |
log.py | File | 2879 bytes | April 17 2025 13:10:58. | |
mingw32ccompiler.py | File | 22067 bytes | April 17 2025 13:10:58. | |
misc_util.py | File | 89359 bytes | April 17 2025 13:10:58. | |
msvc9compiler.py | File | 2192 bytes | April 17 2025 13:10:58. | |
msvccompiler.py | File | 2647 bytes | April 17 2025 13:10:58. | |
npy_pkg_config.py | File | 12972 bytes | April 17 2025 13:10:58. | |
numpy_distribution.py | File | 634 bytes | April 17 2025 13:10:58. | |
pathccompiler.py | File | 713 bytes | April 17 2025 13:10:58. | |
setup.py | File | 634 bytes | April 17 2025 13:10:58. | |
system_info.py | File | 113184 bytes | April 17 2025 13:10:58. | |
unixccompiler.py | File | 5426 bytes | April 17 2025 13:10:58. |
# Colored log import sys from distutils.log import * # noqa: F403 from distutils.log import Log as old_Log from distutils.log import _global_log from numpy.distutils.misc_util import (red_text, default_text, cyan_text, green_text, is_sequence, is_string) def _fix_args(args,flag=1): if is_string(args): return args.replace('%', '%%') if flag and is_sequence(args): return tuple([_fix_args(a, flag=0) for a in args]) return args class Log(old_Log): def _log(self, level, msg, args): if level >= self.threshold: if args: msg = msg % _fix_args(args) if 0: if msg.startswith('copying ') and msg.find(' -> ') != -1: return if msg.startswith('byte-compiling '): return print(_global_color_map[level](msg)) sys.stdout.flush() def good(self, msg, *args): """ If we log WARN messages, log this message as a 'nice' anti-warn message. """ if WARN >= self.threshold: if args: print(green_text(msg % _fix_args(args))) else: print(green_text(msg)) sys.stdout.flush() _global_log.__class__ = Log good = _global_log.good def set_threshold(level, force=False): prev_level = _global_log.threshold if prev_level > DEBUG or force: # If we're running at DEBUG, don't change the threshold, as there's # likely a good reason why we're running at this level. _global_log.threshold = level if level <= DEBUG: info('set_threshold: setting threshold to DEBUG level,' ' it can be changed only with force argument') else: info('set_threshold: not changing threshold from DEBUG level' ' %s to %s' % (prev_level, level)) return prev_level def get_threshold(): return _global_log.threshold def set_verbosity(v, force=False): prev_level = _global_log.threshold if v < 0: set_threshold(ERROR, force) elif v == 0: set_threshold(WARN, force) elif v == 1: set_threshold(INFO, force) elif v >= 2: set_threshold(DEBUG, force) return {FATAL:-2,ERROR:-1,WARN:0,INFO:1,DEBUG:2}.get(prev_level, 1) _global_color_map = { DEBUG:cyan_text, INFO:default_text, WARN:red_text, ERROR:red_text, FATAL:red_text } # don't use INFO,.. flags in set_verbosity, these flags are for set_threshold. set_verbosity(0, force=True) _error = error _warn = warn _info = info _debug = debug def error(msg, *a, **kw): _error(f"ERROR: {msg}", *a, **kw) def warn(msg, *a, **kw): _warn(f"WARN: {msg}", *a, **kw) def info(msg, *a, **kw): _info(f"INFO: {msg}", *a, **kw) def debug(msg, *a, **kw): _debug(f"DEBUG: {msg}", *a, **kw)
SILENT KILLER Tool