hyb
2025-11-18 7539e6f48c75dcaeb808359cccfd1c0d0d182ce8
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Ë
ñúh$ãóŠ—ddlmZddlZddlZddlZddlZddlmZmZddl    m
Z
m Z ddl m Z ddlmZmZmZej$e«Zeej,««Zeedd«Zdd    „Zdd
„Zdd „Zdd „Zgd ¢Zej>d«ejAd«                    d                                                    dd„Z!dd„Z"dd„Z#dd„Z$y)é)Ú annotationsN)ÚInvalidSchemeCombinationÚUserInstallationInvalid)Ú SCHEME_KEYSÚScheme)Úrunning_under_virtualenvé)Ú change_rootÚget_major_minor_versionÚis_osx_frameworkÚget_preferred_schemecóD—dtvxrt« xr
t«S)a°Check for Apple's ``osx_framework_library`` scheme.
 
    Python distributed by Apple's Command Line Tools has this special scheme
    that's used when:
 
    * This is a framework build.
    * We are installing into the system prefix.
 
    This does not account for ``pip install --prefix`` (also means we're not
    installing to the system prefix), which should use ``posix_prefix``, but
    logic here means ``_infer_prefix()`` outputs ``osx_framework_library``. But
    since ``prefix`` is not available for ``sysconfig.get_default_scheme()``,
    which is the stdlib replacement for ``_infer_prefix()``, presumably Apple
    wouldn't be able to magically switch between ``osx_framework_library`` and
    ``posix_prefix``. ``_infer_prefix()`` returning ``osx_framework_library``
    means its behavior is consistent whether we use the stdlib implementation
    or our own, and we deal with this special case in ``get_scheme()`` instead.
    Úosx_framework_library)Ú_AVAILABLE_SCHEMESrr ©óúUH:\Change_password\venv_build\Lib\site-packages\pip/_internal/locations/_sysconfig.pyÚ _should_use_osx_framework_prefixrs+€ð(     Ô#5Ð5ò    Ü(Ó*Ð *ò    ä Ó ðrcó¤—tr td«St«rytjj›dt
j›}|t vr|Stjjt vrtjjSt
j›d}|t vr|St
jt vrt
jSy)a!Try to find a prefix scheme for the current platform.
 
    This tries:
 
    * A special ``osx_framework_library`` for Python distributed by Apple's
      Command Line Tools, when not running in a virtual environment.
    * Implementation + OS, used by PyPy on Windows (``pypy_nt``).
    * Implementation without OS, used by PyPy on POSIX (``pypy``).
    * OS + "prefix", used by CPython on POSIX (``posix_prefix``).
    * Just the OS name, used by CPython on Windows (``nt``).
 
    If none of the above works, fall back to ``posix_prefix``.
    ÚprefixrÚ_Ú_prefixÚ posix_prefix)Ú_PREFERRED_SCHEME_APIrÚsysÚimplementationÚnameÚosr)Úimplementation_suffixedÚsuffixeds  rÚ _infer_prefixr!8sª€õÜ$ XÓ.Ð.Ü'Ô)Ø&Ü!$×!3Ñ!3×!8Ñ!8Р9¸¼2¿7¹7¸)ÐDÐØÔ"4Ñ4Ø&Ð&Ü
×Ñ×ÑÔ"4Ñ4Ü×!Ñ!×&Ñ&Ð&Ü—'‘'˜'Ð"€HØÔ%Ñ%؈ܠ   ‡wwÔ$Ñ$܏w‰wˆØ rcó²—tr td«St«r t«sd}ntj›d}|t
vr|Sdt
vr
t «‚y)z3Try to find a user scheme for the current platform.ÚuserÚosx_framework_userÚ_userÚ
posix_user)rr rrrrr©r s rÚ _infer_userr(WsT€åÜ$ VÓ,Ð,ÜÔÔ":Ô"<Ø'‰ä—g‘gY˜eÐ$ˆØÔ%Ñ%؈ØÔ-Ñ-Ü%Ó'Ð'Ø rcó`—tr td«Stj›d}|tvr|Sy)z,Try to find a home for the current platform.ÚhomeÚ_homeÚ
posix_home)rrrrr's rÚ _infer_homer-fs1€åÜ$ VÓ,Ð,Ü—'‘'˜%Р€HØÔ%Ñ%ØˆØ r)Úinstalled_baseÚbaseÚinstalled_platbaseÚplatbaserÚ exec_prefixÚuserbasecó*—|r|r tdd«‚|r|r tdd«‚| t«}n|r t«}n
t«}||dk(rd}|tDcic]}||“Œ}}n|tDcic]}||“Œ}}ni}t j ||¬«}    t«rv|r!|jdtj«}
n |jdtj«}
d    t«›} tjj|
d
d | «|    d
<n|sd }t|    d |    dtjj|    d
|«|    d|    d¬«} |1i} t D]}t#|t%| |««| |<Œtdi| ¤Ž} | Scc}wcc}w)a\
    Get the "scheme" corresponding to the input parameters.
 
    :param dist_name: the name of the package to retrieve the scheme for, used
        in the headers scheme path
    :param user: indicates to use the "user" scheme
    :param home: indicates to use the "home" scheme
    :param root: root under which other directories are re-based
    :param isolated: ignored, but kept for distutils compatibility (where
        this controls whether the user-site pydistutils.cfg is honored)
    :param prefix: indicates to use the "prefix" scheme and provides the
        base directory for the same
    z--userz--prefixz--homerr)ÚschemeÚvarsr3r/ÚpythonÚincludeÚsiteÚUNKNOWNÚplatlibÚpurelibÚscriptsÚdata)r;r<Úheadersr=r>r)rr-r(r!Ú
_HOME_KEYSÚ    sysconfigÚ    get_pathsrÚgetrrr rÚpathÚjoinrrr
Úgetattr)Ú    dist_namer#r*ÚrootÚisolatedrÚ scheme_nameÚkÚ    variablesÚpathsr/Ú    python_xyr5Úconverted_keysÚkeys               rÚ
get_schemerQ}s¦€ñ* ‘Ü& x°Ó<Ð<Ù ‘Ü& x°Ó<Ð<à ÐÜ!“m‰ Ù     Ü!“m‰ ä#“oˆ ð
ИkÐ-DÒDØ$ˆ à ÐÜ&0Ö1 Q˜‘WÐ1ˆ    Ñ1Ø    Р   Ü(2Ö3 1Q˜‘YÐ3ˆ    Ñ3àˆ    ä × Ñ  {¸Ô C€Eô Ô!Ù Ø—=‘= ¬S¯Z©ZÓ8‰Dà—=‘= ¬¯©Ó4ˆDØÔ4Ó6Ð7Ð8ˆ    ÜŸ7™7Ÿ<™<¨¨i¸ÀÓKˆˆiÒ٠؈    ä ؐiѠؐiÑ Ü—‘— ‘ ˜U 9Ñ-¨yÓ9ؐiÑ Ø 6‰]ô €Fð ÐØˆÜò    JˆCÜ"-¨d´G¸FÀCÓ4HÓ"IˆN˜3Ò ð    JäÑ)˜.Ñ)ˆØ €MùòG2ùâ3s Á
F Á/
FcóŠ—tjdddk(rtjdddk(rytj«dS)NéÚdarwinéz/System/Library/z/usr/local/binr=)rÚplatformrrArBrrrÚget_bin_prefixrWËs>€ä
‡||BQИ8Ò#¬¯
©
°3°B¨Ð;MÒ(MØÜ × Ñ Ó   Ñ +Ð+rcó0—tj«dS)Nr<©rArBrrrÚ get_purelibrZÒó€Ü × Ñ Ó   Ñ +Ð+rcó0—tj«dS)Nr;rYrrrÚ get_platlibr]Ör[r)ÚreturnÚbool)r^Ústr)FNNFN)rGr`r#r_r*ú
str | NonerHrarIr_rrar^r)%Ú
__future__rÚloggingrrrAÚpip._internal.exceptionsrrÚpip._internal.models.schemerrÚpip._internal.utils.virtualenvrr/r
r r Ú    getLoggerÚ__name__ÚloggerÚsetÚget_scheme_namesrrFrrr!r(r-r@Úget_config_varÚappendrQrWrZr]rrrú<module>rns ðÝ"ãÛ    Û
ÛçVß;ÝCçHÑHà    ˆ×    Ñ    ˜8Ó    $€ñÐ3˜×3Ñ3Ó5Ó6Ðá     Ð+AÀ4ÓHÐóó4ó> óò€
ð€9×јJÓ'Ð3Ø×ѐjÔ!ð
ØØØØð KØðKà
ðKð ðKð ð    Kð
ð Kð ð Kð óKó\,ó,ô,r