U n a@sfddlZddlmZer,ddlmZmZmZdZdddZdd Z d d Z d d Z ddZ ddZ dS)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'))FcCsFtjg}|r|dg7}|dt|g7}|r4||7}|rB|dg7}|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_outputargsreC:\Users\vtejo\AppData\Local\Temp\pip-unpacked-wheel-6mt8ur68\pip\_internal\utils\setuptools_build.pymake_setuptools_shim_argss  rcCs(t||dd}|dd|g7}||7}|S)NTr r bdist_wheelz-dr)r r build_optionsdestination_dirrrrr make_setuptools_bdist_wheel_args2s rcCst||dd}|ddg7}|S)NTrcleanz--allr)r r rrrrmake_setuptools_clean_argsGs rcCsf|r |r tt|||d}|ddg7}||7}|r>|d|g7}|dk rR|d|g7}|rb|ddg7}|S)N)r r developz --no-deps--prefix--home--user --prefix=AssertionErrorr)r r install_optionsr prefixhome use_user_siterrrrmake_setuptools_develop_argsUs     r%cCs*t||d}|dg7}|r&|d|g7}|S)N)r egg_infoz --egg-baser)r egg_info_dirr rrrrmake_setuptools_egg_info_argsvs  r(c Cs|r |r t|r|rtt||| dd} | dd|g7} | dg7} |dk rT| d|g7} |dk rh| d|g7} |dk r|| d|g7} |r| d d g7} | r| d g7} n | d g7} |r| d |g7} | |7} | S)NT)r r r installz--recordz#--single-version-externally-managedz--rootrrrrz --compilez --no-compilez--install-headersr) r r r!record_filenamerootr" header_dirr#r$r pycompilerrrrmake_setuptools_install_argss2          r.)NFF)rpip._internal.utils.typingrtypingrrrrrrrr%r(r.rrrrs    !