§
y<ˆj5
ã óæ — d Z ddlZddlZddlZ ddlmZ n# e$ r ddlmZ Y nw xY wg d¢Z G d„ d¦ « Z G d„ d¦ « Z G d „ d
¦ « Z
ej dk re ZdS ej dk re
ZdS dS )
zq
Helper functions for interacting with the shell, and consuming shell-style
parameters provided in config files.
é N©Úquote)Ú
WindowsParserÚPosixParserÚNativeParserc ó> — e Zd ZdZed„ ¦ « Zed„ ¦ « ZdS )ÚCommandLineParsera
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.
c ó — t ‚)z5 Join a list of arguments into a command line string ©ÚNotImplementedError©Úargvs úp/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/numpy/distutils/_shell_utils.pyÚjoinzCommandLineParser.join ó
€ õ "Ð!ó c ó — t ‚)z6 Split a command line string into a list of arguments r ©Úcmds r ÚsplitzCommandLineParser.split r r N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr r © r r r r sT € € € € € ðð ð ð"ð "ñ „\ð"ð ð"ð "ñ „\ð"ð "ð "r r c ó> — e Zd ZdZed„ ¦ « Zed„ ¦ « ZdS )r z¯
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.
c ó* — t j | ¦ « S ©N)Ú
subprocessÚlist2cmdliner
s r r zWindowsParser.join* s € õ Ô& tÑ,Ô,Ð,r c ó ‡— dd l } |j n# t $ r t ‚w xY w| sg S d| z } |j j j }| |j ¦ « |_ |j | |j ¦ « f|_
| ¦ « } || | |¦ « ¦ « Šˆfd„t |j
¦ « D ¦ « }|j j ‰¦ « rJ ‚|d dk sJ ‚|dd … S )Nr zdummy c ó •— g | ]
}‰| ‘ŒS r r )Ú.0ÚiÚlpargss €r ú