Re @ s d d l Z d d l m Z e r> d d l m Z m Z m Z d Z d d d d d Z d d Z d d Z d d Z d d Z d d Z d S) N)MYPY_CHECK_RUNNING)ListOptionalSequencezimport sys, setuptools, tokenize; sys.argv[0] = {0!r}; __file__={0!r};f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))Fc C s_ t j g } | r | d g 7} | d t j | g 7} | rH | | 7} | r[ | d g 7} | 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_SHIMformat) setup_py_pathglobal_optionsno_user_configunbuffered_outputargs r /builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/utils/setuptools_build.pymake_setuptools_shim_args s r c C s9 t | d | d d } | d d | g 7} | | 7} | S)Nr r Tbdist_wheelz-d)r )r r build_optionsdestination_dirr r r r make_setuptools_bdist_wheel_args2 s r c C s, t | d | d d } | d d g 7} | S)Nr r Tcleanz--all)r )r r r r r r make_setuptools_clean_argsG s r c C s | o | s t t | d | d | } | d d g 7} | | 7} | r[ | d | g 7} | d k rw | d | g 7} | r | d d g 7} | S) Nr r developz --no-depsz--prefixz--homez--userz --prefix=)AssertionErrorr )r r install_optionsr prefixhome use_user_siter r r r make_setuptools_develop_argsU s r c C s9 t | d | } | d g 7} | r5 | d | g 7} | S)Nr egg_infoz --egg-base)r )r egg_info_dirr r r r r make_setuptools_egg_info_argsv s r! c C s | o | s t | o | s&