U
ÀÒ.e_ ã @ s: d dl Z d dlmZ er(d dlmZmZ dZddd„ZdS ) é N)ÚMYPY_CHECK_RUNNING)ÚListÚSequencezÅimport 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 sJ t jg}|r| d¡ | dt | ¡g¡ |r8| |¡ |rF| d¡ |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ÚappendÚextendÚ_SETUPTOOLS_SHIMÚformat)Z
setup_py_pathZglobal_optionsZno_user_configZunbuffered_outputÚargs© r úH/usr/lib/python3.8/site-packages/pip/_internal/utils/setuptools_build.pyÚmake_setuptools_shim_args s
r )NFF)r Zpip._internal.utils.typingr Útypingr r r r r r r r
Ú