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. |
""" Helper functions for interacting with the shell, and consuming shell-style parameters provided in config files. """ import os import shlex import subprocess try: from shlex import quote except ImportError: from pipes import quote __all__ = ['WindowsParser', 'PosixParser', 'NativeParser'] class CommandLineParser: """ An object that knows how to split and join command-line arguments. It must be true that ``argv == split(join(argv))`` for all ``argv``. The reverse neednt be true - `join(split(cmd))` may result in the addition or removal of unnecessary escaping. """ @staticmethod def join(argv): """ Join a list of arguments into a command line string """ raise NotImplementedError @staticmethod def split(cmd): """ Split a command line string into a list of arguments """ raise NotImplementedError class WindowsParser: """ The parsing behavior used by `subprocess.call("string")` on Windows, which matches the Microsoft C/C++ runtime. Note that this is _not_ the behavior of cmd. """ @staticmethod def join(argv): # note that list2cmdline is specific to the windows syntax return subprocess.list2cmdline(argv) @staticmethod def split(cmd): import ctypes # guarded import for systems without ctypes try: ctypes.windll except AttributeError: raise NotImplementedError # Windows has special parsing rules for the executable (no quotes), # that we do not care about - insert a dummy element if not cmd: return [] cmd = 'dummy ' + cmd CommandLineToArgvW = ctypes.windll.shell32.CommandLineToArgvW CommandLineToArgvW.restype = ctypes.POINTER(ctypes.c_wchar_p) CommandLineToArgvW.argtypes = (ctypes.c_wchar_p, ctypes.POINTER(ctypes.c_int)) nargs = ctypes.c_int() lpargs = CommandLineToArgvW(cmd, ctypes.byref(nargs)) args = [lpargs[i] for i in range(nargs.value)] assert not ctypes.windll.kernel32.LocalFree(lpargs) # strip the element we inserted assert args[0] == "dummy" return args[1:] class PosixParser: """ The parsing behavior used by `subprocess.call("string", shell=True)` on Posix. """ @staticmethod def join(argv): return ' '.join(quote(arg) for arg in argv) @staticmethod def split(cmd): return shlex.split(cmd, posix=True) if os.name == 'nt': NativeParser = WindowsParser elif os.name == 'posix': NativeParser = PosixParser
SILENT KILLER Tool