관리-도구
편집 파일: setuptools_build.cpython-311.pyc
� �ReY � �� � d dl Z d dlmZmZmZ dZ ddedee deded ee f d �Zdedee dee ded ee f d �Z dedee d ee fd�Z dedee dee dedee dee ded ee fd�Zdedee ded ee fd�Zdedee dee dedee dee dee dee dededed ee fd�Z dS )� N)�List�Optional�Sequencea' import io, os, sys, setuptools, tokenize; sys.argv[0] = {0!r}; __file__={0!r};f = getattr(tokenize, 'open', open)(__file__) if os.path.exists(__file__) else io.StringIO('from setuptools import setup; setup()');code = f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))F� setup_py_path�global_options�no_user_config�unbuffered_output�returnc � � t j g}|r|dgz }|dt � | � � gz }|r||z }|r|dgz }|S )ao Get setuptools command arguments with shim wrapped setup file invocation. :param setup_py_path: The path to setup.py to be wrapped. :param global_options: Additional global options. :param no_user_config: If True, disables personal user configuration. :param unbuffered_output: If True, adds the unbuffered switch to the argument list. z-uz-cz --no-user-cfg)�sys� executable�_SETUPTOOLS_SHIM�format)r r r r �argss ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/utils/setuptools_build.py�make_setuptools_shim_argsr sk � � �N��D�� �������T�#�*�*�=�9�9�:�:�D�� ������ "���!�!���K� � build_options�destination_dirc �D � t | |d�� � }|dd|gz }||z }|S )NT�r r �bdist_wheelz-d�r )r r r r r s r � make_setuptools_bdist_wheel_argsr / sA � � %��n��� � �D� �]�D�/�2�2�D��M��D��Kr c �8 � t | |d�� � }|ddgz }|S )NTr �cleanz--allr )r r r s r �make_setuptools_clean_argsr A s5 � � %��n��� � �D� �W�g���D��Kr �install_options�prefix�home� use_user_sitec � � |r|rJ �t | ||�� � }|ddgz }||z }|r|d|gz }|�|d|gz }|r|ddgz }|S )N)r r �developz --no-deps�--prefixz --install-dir�--user� --prefix=r )r r r r r r r! r s r �make_setuptools_develop_argsr'