tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
M\¬Qc@sQdZddlZddlZddlmZmZiidd6dd6dd    6d
d 6d d 6dd6dd6dd6d6idd6dd6dd    6dd 6dd 6dd6dd6dd6d6idd6dd6dd    6dd 6d d 6d d6dd6dd6d6idd6dd6dd    6dd 6dd 6dd6dd6dd6d6idd6dd6dd    6dd 6d d 6d!d6d"d6d#6idd6dd6dd    6dd 6d d 6d!d6d"d6d$6idd6dd6dd    6dd 6d d 6d!d6d"d6d%6id&d6d&d6d'd    6d'd 6d(d 6d!d6d"d6d)6ZdQZejj    ƒd*Z
ejd+ Z e
d*e
d,Z ej jejƒZej jejƒZdadZd-„Zejr´ej jeejƒƒZneejƒƒZejdkr    d.ed/jƒkr    eej jeeƒƒZnejdkrOd0ed1jƒkrOeej jeeeƒƒZnejdkr•d2ed3jƒkr•eej jeeeƒƒZnd4ejkrÅej jej jd5ƒƒZnd6„Z e ƒZ!e!rSx*dRD]"Z"d7ee"d <d8ee"d<qäWejdkrSejj#d9ƒd*krSd7edd <d8edd<qSnd:„Z$d;„Z%d<„Z&d=„Z'd>„Z(dd?„Z)d@„Z*dA„Z+dB„Z,dC„Z-ddD„Z.dE„Z/dF„Z0dG„Z1e'ƒde2dH„Z3e'ƒde2dI„Z4dJ„Z5dK„Z6dL„Z7dM„Z8dN„Z9dO„Z:e;dPkrMe:ƒndS(Ss7Provide access to Python's configuration information.
 
iÿÿÿÿN(tpardirtrealpaths#{base}/lib/python{py_version_short}tstdlibs'{platbase}/lib/python{py_version_short}t
platstdlibs1{base}/lib/python{py_version_short}/site-packagestpurelibs5{platbase}/lib/python{py_version_short}/site-packagestplatlibs'{base}/include/python{py_version_short}tincludes+{platbase}/include/python{py_version_short}t platincludes
{base}/bintscriptss{base}tdatat posix_prefixs{base}/lib/pythons{base}/include/pythont
posix_hometnts
{base}/Libs{base}/Lib/site-packagess{base}/Includes{base}/Scriptstos2s'{userbase}/lib/python{py_version_short}s5{userbase}/lib/python{py_version_short}/site-packagess+{userbase}/include/python{py_version_short}s{userbase}/bins
{userbase}tos2_hometnt_usert
posix_users{userbase}/lib/pythons#{userbase}/lib/python/site-packagess{userbase}/includetosx_framework_useriiicCs'yt|ƒSWntk
r"|SXdS(N(RtOSError(tpath((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_safe_realpathas tpcbuildiøÿÿÿs\pc\viöÿÿÿs\pcbuild\amd64iòÿÿÿt_PYTHON_PROJECT_BASEt.cCs=x6dD].}tjjtjjtd|ƒƒrtSqWtS(Ns
Setup.dists Setup.localtModules(s
Setup.dists Setup.local(tosRtisfiletjoint _PROJECT_BASEtTruetFalse(tfn((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pytis_python_build{s $s{srcdir}/Includes {projectbase}tGCCcCscy|j|SWnKtk
r^y|jtjSWq_tk
rZ}td|ƒ‚q_XnXdS(Ns{%s}(tformattKeyErrorRtenvirontAttributeError(tst
local_varstvar((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt _subst_varss cCsI|jƒ}x6|jƒD](\}}||kr7qn|||<qWdS(N(tkeystitems(t target_dictt
other_dictt target_keystkeytvalue((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt _extend_dict–s
  cCs“i}|dkri}nt|tƒƒxat|jƒD]O\}}tjdkrltjj|ƒ}ntjj    t
||ƒƒ||<q<W|S(NtposixR (sposixsnt( tNoneR1tget_config_varst_INSTALL_SCHEMESR+RtnameRt
expandusertnormpathR)(tschemetvarstresR/R0((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt _expand_varss     #cCstjdkrdStjS(NR2R
(RR6(((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_get_default_scheme©scCs¿tjjddƒ}d„}tjdkr\tjjdƒpBd}|rO|S||dƒStjdkr¨tdƒ}|r¨|r‡|S|dd    |d
tjd  ƒSn|r²|S|dd ƒS( NtPYTHONUSERBASEcWstjjtjj|ŒƒS(N(RRR7R(targs((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pytjoinuser±sR tAPPDATAt~tPythontdarwintPYTHONFRAMEWORKtLibrarys%d.%dis.local(    RR$tgetR3R6tsystplatformtget_config_vart version_info(tenv_baseR@tbaset    framework((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt _getuserbase¯s     
cCsddl}|jdƒ}|jdƒ}|jdƒ}|dkrNi}ni}i}t|ƒ}|jƒ}    WdQXxà|    D]Ø}
|
jdƒs‚|
jƒdkr¯q‚n|j|
ƒ} | r‚| jdd    ƒ\} } | jƒ} | j    d
dƒ}d |kr| || <qZyt
| ƒ} Wn't k
rL| j    d
d ƒ|| <qZX| || <q‚q‚Wx^|r¾xQ|j ƒD]C}||}|j |ƒpŸ|j |ƒ} | r°| jdƒ} t}| |krÜt|| ƒ}nB| |krñt}n-| tjkrtj| }nd|| <}|r·|| jƒ}|| jƒ ||}d |kre|||<q­yt
|ƒ}Wn!t k
r˜|jƒ||<n X|||<||=q·qt||=qtWqaWx<|jƒD].\}} t| tƒrÌ| jƒ||<qÌqÌW|j|ƒ|S( sÌParse a Makefile-style file.
 
    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    iÿÿÿÿNs"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)s\$\(([A-Za-z][A-Za-z0-9_]*)\)s\${([A-Za-z][A-Za-z0-9_]*)}t#tiis$$t$(tretcompileR3topent    readlinest
startswithtstriptmatchtgrouptreplacetintt
ValueErrorR*tsearchRtstrRRR$tendtstartR+t
isinstancetupdate(tfilenameR:RSt _variable_rxt _findvar1_rxt _findvar2_rxtdonetnotdonetftlinestlinetmtntvttmpvR6R0tfoundtitemtaftertk((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_parse_makefileÃsp       !        
         
  cCs5trtjjtdƒStjjtdƒddƒS(NtMakefileRtconfig(t _PYTHON_BUILDRRRRtget_path(((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_get_makefile_filenamesc    Cs;ddl}i}tƒ}yt||ƒWnLtk
rz}d|}t|dƒrk|d|j}nt|ƒ‚nXtƒ}y&t|ƒ}t||ƒWdQXWnLtk
rø}d|}t|dƒré|d|j}nt|ƒ‚nXt    r|d|d<nd}d    t
j krYddl }|j |ƒ}    ||    _|    t
j|<nd
tƒt
jd  f}
tt
d ƒr|
d 7}
nytj|
ƒWntk
r³nXtjj|
|dƒ} t| dƒ4}|jdƒ|jdƒ|j|d|ƒWdQXtddƒ}|j|
ƒWdQXdS(s;Generate the Python module containing build-time variables.iÿÿÿÿNs.invalid Python installation: unable to open %ststrerrors (%s)t    BLDSHAREDtLDSHAREDt_sysconfigdataRDsbuild/lib.%s-%sitgettotalrefcounts-pydebugs.pytwbsB# system configuration generated and used by the sysconfig module
sbuild_time_vars = tstreamspybuilddir.txttw(tpprintRzRutIOErrorthasattrR{tget_config_h_filenameRUtparse_config_hRxRHRItimpt
new_moduletbuild_time_varstmodulest get_platformtversionRtmakedirsRRRtwrite( RƒR:tmakefiletetmsgtconfig_hRjR6Rˆtmodulet
pybuilddirtdestfile((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_generate_posix_varssR     
    
          cCs!ddlm}|j|ƒdS(s7Initialize the module as appropriate for POSIX systems.iÿÿÿÿ(RŠN(R~RŠRc(R:RŠ((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt _init_posixbscCsqtdƒ|d<tdƒ|d<tdƒ|d<d|d<d    |d
<t|d <tjjttjƒƒ|d <d S(s+Initialize the module as appropriate for NTRtLIBDESTRt
BINLIBDESTRt    INCLUDEPYs.pydtSOs.exetEXEtVERSIONtBINDIRN(Ryt_PY_VERSION_SHORT_NO_DOTRRtdirnameRRHt
executable(R:((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_init_non_posixhs
 
 
c    Csïddl}|dkr!i}n|jdƒ}|jdƒ}x©trê|jƒ}|s^Pn|j|ƒ}|r¼|jddƒ\}}yt|ƒ}Wntk
r®nX|||<qB|j|ƒ}|rBd||jdƒ<qBqBW|S(sÌParse a config.h-style file.
 
    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    iÿÿÿÿNs"#define ([A-Z][A-Za-z0-9_]+) (.*)
s&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
iii(    RSR3RTRtreadlineRYRZR\R](    tfpR:RSt    define_rxtundef_rxRlRmRnRo((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyR‡xs*             cCsmtrNtjdkrEtjjdƒdkrEtjjtdƒ}qZt}n t    dƒ}tjj|dƒS(sReturns the path of pyconfig.h.R R!itPCRs
pyconfig.h(
RxRR6RHRtfindRRRRy(tinc_dir((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyR†•s '     cCs tjƒ}|jƒt|ƒS(s-Returns a tuple containing the schemes names.(R5R*tsortttuple(tschemes((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pytget_scheme_names¡s 
cCstS(s+Returns a tuple containing the paths names.(t _SCHEME_KEYS(((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pytget_path_names§scCs|rt||ƒSt|SdS(s±Returns a mapping containing an install scheme.
 
    ``scheme`` is the install scheme name. If not provided, it will
    return the default scheme for the current platform.
    N(R<R5(R9R:texpand((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt    get_paths«s cCst|||ƒ|S(s\Returns a path corresponding to the scheme.
 
    ``scheme`` is the install scheme name.
    (R²(R6R9R:R±((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyRy¶sc    Gs0ddl}tdkrñiattd<ttd<ttd<ttd<tdtdtd    <ttd
<ttd <ttd <d}tj    d kr˜t
}n9tj    dkrÑt j j dƒdkrÈt
}qÑt}n|tkrêttƒn|t
krttƒntƒtd<dtkr)ttd<ntrÃ|t
krÃt}ytjƒ}Wntk
rjd}nXtjjtdƒ rÃ||krÃtjj|tdƒ}tjj|ƒtd<qÃnt jdkrñddl}|jtƒqñn|r(g}x$|D]}|jtj|ƒƒqW|StSdS(syWith no arguments, return a dictionary of all configuration
    variables relevant for the current platform.
 
    On Unix, this means every variable defined in Python's installed Makefile;
    On Windows and Mac OS it's a much smaller set.
 
    With arguments, return a list of values that result from looking up
    each argument in the configuration variable dictionary.
    iÿÿÿÿNtprefixt exec_prefixt
py_versiontpy_version_shortiitpy_version_nodotRMtplatbaset projectbaseR2R R R!tuserbasetsrcdirRD(sntsos2(RSt _CONFIG_VARSR3t_PREFIXt _EXEC_PREFIXt _PY_VERSIONt_PY_VERSION_SHORTRRR6RRHRR©RR£R˜RORxtgetcwdRRtisabsRR8RIt _osx_supporttcustomize_config_varstappendRG(    R?RSt posix_buildRMtcwdR»RÃtvalsR6((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyR4½sX
 
 
 
 
 
 
 
                    
   cCstƒj|ƒS(s“Return the value of a single variable using the dictionary returned by
    'get_config_vars()'.
 
    Equivalent to get_config_vars().get(name)
    (R4RG(R6((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyRJscCs­ddl}tjdkr¢d}tjj|ƒ}|dkrFtjStjjd|ƒ}tj|t|ƒ|!jƒ}|dkr‹dS|dkr›d    StjSd
tj    kr¼tj    d
Stjd ksÛt
td ƒ râtjStj ƒ\}}}}}    |jƒj d dƒ}|    j ddƒ}    |    j d dƒ}    |d dkrWd||    fS|d dkrÎ|ddkrœd}dt |dƒd|df}idd6dd6}
|    d |
tj7}    qœnÎ|d! d"krìd||fS|d d#kr d$|||fS|d% d&krYd&}|jd'ƒ} | j|ƒ} | rœ| jƒ}qœnC|d% d(krœddl} | jtƒ|||    ƒ\}}}    nd)|||    fS(*s«Return a string that identifies the current platform.
 
    This is used mainly to distinguish platform-specific build directories and
    platform-specific built distributions.  Typically includes the OS name
    and version and the architecture (as supplied by 'os.uname()'),
    although the exact information included depends on the OS; eg. for IRIX
    the architecture isn't particularly important (IRIX only runs on SGI
    hardware), but for Linux the kernel version isn't particularly
    important.
 
    Examples of returned values:
       linux-i586
       linux-alpha (?)
       solaris-2.6-sun4u
       irix-5.3
       irix64-6.2
 
    Windows will return one of:
       win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
       win-ia64 (64bit Windows on Itanium)
       win32 (all others - specifically, sys.platform is returned)
 
    For other non-POSIX platforms, currently just returns 'sys.platform'.
    iÿÿÿÿNR s bit (t)tamd64s    win-amd64titaniumswin-ia64t_PYTHON_HOST_PLATFORMR2tunamet/RQt t_t-itlinuxs%s-%stsunosit5tsolariss%d.%siit32bitiÿÿÿt64bitIÿÿÿÿÿÿÿs.%sitirixtaixs%s-%s.%sitcygwins[\d.]+RDs%s-%s-%s(RSRR6RHRR©RItlentlowerR$R…RÍR[R\tmaxintRTRYRZRÃtget_platform_osxR4(RSR³titjtlooktosnamethosttreleaseRtmachinetbitnesstrel_reRmRÃ((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyRŒsZ      " cCstS(N(RÀ(((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pytget_python_versionrscCsZxStt|jƒƒƒD]9\}\}}|dkrCd|GHnd||fGHqWdS(Nis%s: s
   %s = "%s"(t    enumeratetsortedR+(ttitleR    tindexR/R0((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt _print_dictvs+  cCsddtjkrtƒdSdtƒGHdtƒGHdtƒGHHtdtƒƒHtdtƒƒdS(s*Display all information sysconfig detains.s--generate-posix-varsNsPlatform: "%s"sPython version: "%s"s!Current installation scheme: "%s"tPathst    Variables(    RHtargvR—RŒRèR=RíR²R4(((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt_main}s   t__main__(sstdlibs
platstdlibspurelibsplatlibsincludesscriptssdata(s posix_prefixs
posix_home(<t__doc__RHRtos.pathRRR5R¯RtsplitR¿RÀR RR8R³R½R´R¾R3R¼t
_USER_BASERR¢R¡RRÁR6RÜRR$tabspathR RxR9R©R)R1R<R=RORuRzR—R˜R£R‡R†R®R°RR²RyR4RJRŒRèRíRñt__name__(((sQ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sysconfig.pyt<module>sü                  %%!%!!         '                         V        D                          Q        \