zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
U
H=®dÂã@sfddlZddlmZer,ddlmZmZmZdZddd„Zdd    „Z    d
d „Z
d d „Z dd„Z dd„Z dS)éN)ÚMYPY_CHECK_RUNNING)ÚListÚOptionalÚ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'))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_SHIMÚformat)Ú setup_py_pathÚglobal_optionsÚno_user_configÚunbuffered_outputÚargs©rú[D:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_internal/utils/setuptools_build.pyÚmake_setuptools_shim_argss
 
rcCs(t||dd}|dd|g7}||7}|S)NT©r r Ú bdist_wheelz-d©r)r
r Ú build_optionsÚdestination_dirrrrrÚ make_setuptools_bdist_wheel_args2s ýrcCst||dd}|ddg7}|S)NTrÚcleanz--allr)r
r rrrrÚmake_setuptools_clean_argsGsý rcCsf|r |r t‚t|||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 ÚprefixÚhomeÚ use_user_siterrrrÚmake_setuptools_develop_argsUs
ý    r%cCs*t||d}|dg7}|r&|d|g7}|S)N)r Úegg_infoz
--egg-baser)r
Ú egg_info_dirr rrrrÚmake_setuptools_egg_info_argsvsÿ
 r(c CsÂ|r |r t‚|r|rt‚t|||    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_filenameÚrootr"Ú
header_dirr#r$r Ú    pycompilerrrrÚmake_setuptools_install_argsˆs2  ü
 
 r.)NFF)rÚpip._internal.utils.typingrÚtypingrrrrrrrr%r(r.rrrrÚ<module>s     ÿ ü
!