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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
[\¬Qc@s&dZdZddlZddlZddlZddlmZyddlZWnek
rie    ZnXddl
m Z m Z m Z mZddlmZmZddlmZmZmZddlmZdd    lmZd
Zejd ƒZd fd „ƒYZdfd„ƒYZd„ZdS(s}distutils.dist
 
Provides the Distribution class, which represents the module distribution
being built/installed/distributed.
s$Id$iÿÿÿÿN(tmessage_from_file(tDistutilsOptionErrortDistutilsArgErrortDistutilsModuleErrortDistutilsClassError(t FancyGetoptttranslate_longopt(t check_environt    strtoboolt rfc822_escape(tlog(tDEBUGsutf-8s^[a-zA-Z]([a-zA-Z0-9_]*)$t DistributioncBsÂeZdZd]d^d_d`dbgZdZdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwgZed<„eƒZidd6Z    dad=„Z
d>„Z dadad?d@„Z dA„Z dadB„ZdC„ZdD„ZdE„ZdF„ZddgdG„ZdH„ZdI„ZdJ„ZdK„ZdL„ZdM„ZddN„ZdadO„ZdPdQ„ZejdR„ZdS„Z dT„Z!dU„Z"dV„Z#dW„Z$dX„Z%dY„Z&dZ„Z'd[„Z(d\„Z)RS(xs½The core of the Distutils.  Most of the work hiding behind 'setup'
    is really done within a Distribution instance, which farms the work out
    to the Distutils commands specified on the command line.
 
    Setup scripts will almost never instantiate Distribution directly,
    unless the 'setup()' function is totally inadequate to their needs.
    However, it is conceivable that a setup script might wish to subclass
    Distribution for some specialized purpose, and then pass the subclass
    to 'setup()' as the 'distclass' keyword argument.  If so, it is
    necessary to respect the expectations that 'setup' has of Distribution.
    See the code for 'setup()', in core.py, for details.
    tverbosetvsrun verbosely (default)itquiettqs!run quietly (turns verbosity off)sdry-runtnsdon't actually do anythingthelpthsshow detailed help messages no-user-cfgs-ignore pydistutils.cfg in your home directorys£Common commands: (see '--help-commands' for more)
 
  setup.py build      will build the package underneath 'build/'
  setup.py install    will install the package
s help-commandsslist all available commandstnamesprint package nametversiontVsprint package versiontfullnamesprint <package name>-<version>tauthorsprint the author's names author-emails print the author's email addresst
maintainersprint the maintainer's namesmaintainer-emails$print the maintainer's email addresstcontacts7print the maintainer's name if known, else the author'ss contact-emails@print the maintainer's email address if known, else the author'sturlsprint the URL for this packagetlicenses print the license of the packagetlicencesalias for --licenset descriptionsprint the package descriptionslong-descriptions"print the long package descriptiont    platformssprint the list of platformst classifierssprint the list of classifierstkeywordssprint the list of keywordstprovidess+print the list of packages/modules providedtrequiress+print the list of packages/modules requiredt    obsoletess0print the list of packages/modules made obsoletecCst|dƒS(Ni(R(tx((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt<lambda>wscCsid|_d|_d|_x!|jD]}t||dƒq%Wtƒ|_x:|jjD],}d|}t||t|j|ƒƒqXWi|_    d|_ d|_ d|_ i|_g|_d|_i|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_i|_i|_|r|jdƒ}|dk    rÉ|d=xY|j ƒD]H\}}|j!|ƒ}x*|j ƒD]\}    }
d|
f||    <q¢WqzWnd|kr#|d|d<|d=d    } t"dk    r t"j#| ƒq#t$j%j&| d
ƒnxÚ|j ƒD]É\} }
t'|jd | ƒrot|jd | ƒ|
ƒq0t'|j| ƒr—t|j| |
ƒq0t'|| ƒr¹t|| |
ƒq0d t(| ƒ} t"dk    råt"j#| ƒq0t$j%j&| d
ƒq0Wnt)|_*|j dk    r[x@|j D]2} | j+d ƒs;Pn| dkr"t,|_*Pq"q"Wn|j-ƒdS(s0Construct a new Distribution instance: initialize all the
        attributes of a Distribution, and then use 'attrs' (a dictionary
        mapping attribute names to values) to assign some of those
        attributes their "real" values.  (Any attributes not mentioned in
        'attrs' will be assigned to some null value: 0, None, an empty list
        or dictionary, etc.)  Most importantly, initialize the
        'command_obj' attribute to the empty dictionary; this will be
        filled in with real command objects by 'parse_command_line()'.
        iitget_ttoptionss setup scriptRRs:'licence' distribution option is deprecated; use 'license's
tset_sUnknown distribution option: %st-s --no-user-cfgN(.R tdry_runRtdisplay_option_namestsetattrtDistributionMetadatatmetadatat_METHOD_BASENAMEStgetattrtcmdclasstNonetcommand_packagest script_namet script_argstcommand_optionst
dist_filestpackagest package_datat package_dirt
py_modulest    librariestheaderst ext_modulest ext_packaget include_dirst
extra_pathtscriptst
data_filestpasswordt command_objthave_runtgettitemstget_option_dicttwarningstwarntsyststderrtwritethasattrtreprtTruet want_user_cfgt
startswithtFalsetfinalize_options(tselftattrstattrtbasenamet method_nameR)tcommandt cmd_optionstopt_dicttopttvaltmsgtkeytarg((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt__init__€s‚             
                                                                                                   cCs6|jj|ƒ}|dkr2i}|j|<n|S(síGet the option dictionary for a given command.  If that
        command's option dictionary hasn't been created yet, then create it
        and return the new dictionary; otherwise, return the existing
        option dictionary.
        N(R8RIR4(RXR]tdict((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRK!s R(c    Csddlm}|dkr8|jjƒ}|jƒn|dk    rb|j||ƒ|d}n|s}|j|dƒdSx”|D]Œ}|jj|ƒ}|dkrÀ|j|d|ƒq„|j|d|ƒ||ƒ}x,|jdƒD]}|j|d|ƒqñWq„WdS(Niÿÿÿÿ(tpformats  sno commands known yetsno option dict for '%s' commandsoption dict for '%s' command:s
(    tpprintRgR4R8tkeystsorttannounceRItsplit(    RXtheadertcommandstindentRgtcmd_nameR_touttline((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytdump_option_dicts,s(                cCsg}tƒtjjtjdjƒ}tjj|dƒ}tjj|ƒr`|j    |ƒntj
dkrxd}nd}|j rÍtjjtjj dƒ|ƒ}tjj|ƒrÍ|j    |ƒqÍnd}tjj|ƒrõ|j    |ƒnt r|jdd    j|ƒƒn|S(
s¾Find as many configuration files as should be processed for this
        platform, and return a list of filenames in the order in which they
        should be parsed.  The filenames returned are guaranteed to exist
        (modulo nasty race conditions).
 
        There are three possible config files: distutils.cfg in the
        Distutils installation directory (ie. where the top-level
        Distutils __inst__.py file lives), a file in the user's home
        directory named .pydistutils.cfg on Unix and pydistutils.cfg
        on Windows/Mac; and setup.cfg in the current directory.
 
        The file in the user's home directory can be disabled with the
        --no-user-cfg option.
        t    distutilss distutils.cfgtposixs.pydistutils.cfgspydistutils.cfgt~s    setup.cfgsusing config files: %ss, (RtostpathtdirnameRNtmodulest__file__tjointisfiletappendRRTt
expanduserR Rk(RXtfilestsys_dirtsys_filet user_filenamet    user_filet
local_file((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytfind_config_filesIs&        !c Csßddlm}|dkr+|jƒ}ntrA|jdƒn|ƒ}xÈ|D]À}trq|jd|ƒn|j|ƒx†|jƒD]x}|j|ƒ}|j|ƒ}xQ|D]I}|dkr¶|j    ||ƒ}    |j
ddƒ}||    f||<q¶q¶Wq‹W|j ƒqQWd|j krÛx´|j dj ƒD]œ\}\}
}    |jj    |ƒ} yY| rt|| t|    ƒ ƒn5|d kr¤t||t|    ƒƒnt|||    ƒWq8tk
rÓ} t| ‚q8Xq8WndS( Niÿÿÿÿ(t ConfigParsers"Distribution.parse_config_files():s   reading %st__name__R+t_tglobalR R,(sverbosesdry_run(R‡R4R†R RktreadtsectionsR)RKRItreplaceReR8RJt negative_optR.Rt
ValueErrorR( RXt    filenamesR‡tparsertfilenametsectionR)R_R`RatsrctaliasRb((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytparse_config_filesys<         & cCs|jƒ}g|_t||jƒ}|j|jƒ|jidd6ƒ|jd|jd|ƒ}|j    ƒ}t
j |j ƒ|j |ƒr–dSx,|rÄ|j||ƒ}|dkr™dSq™W|jrý|j|dt|jƒdkd|jƒdS|jstd    ‚nd
S( s‡Parse the setup script's command line, taken from the
        'script_args' instance attribute (which defaults to 'sys.argv[1:]'
        -- see 'setup()' in core.py).  This list is first processed for
        "global options" -- options that set attributes of the Distribution
        instance.  Then, it is alternately scanned for Distutils commands
        and options for that command.  Each new command terminates the
        options for the previous command.  The allowed options for a
        command are determined by the 'user_options' attribute of the
        command class -- thus, we have to be able to load command classes
        in order to parse the command line.  Any error in that 'options'
        attribute raises DistutilsGetoptError; any error on the
        command-line raises DistutilsArgError.  If no Distutils commands
        were found on the command line, raises DistutilsArgError.  Return
        true if command-line was successfully parsed and we should carry
        on with executing commands; false if no errors but we shouldn't
        execute commands (currently, this only happens if user asks for
        help).
        RRtargstobjectNtdisplay_optionsiRnsno commands suppliedi(t_get_toplevel_optionsRnRR™tset_negative_aliasesRŽt set_aliasestgetoptR7tget_option_orderR
t set_verbosityR thandle_display_optionst_parse_command_optsR4Rt
_show_helptlenR(RXttoplevel_optionsR‘R—t option_order((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytparse_command_line§s,                   
     cCs|jdgS(sÃReturn the non-display options recognized at the top level.
 
        This includes options that are recognized *only* at the top
        level as well as options recognized for commands.
        scommand-packages=s0list of packages that provide distutils commandsN(scommand-packages=Ns0list of packages that provide distutils commands(tglobal_optionsR4(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRšêsc    Cs¢ddlm}|d}tj|ƒs9td|‚n|jj|ƒy|j|ƒ}Wntk
rz}t    |‚nXt
||ƒsšt d|‚nt |dƒo¸t |jtƒsÏt dd|‚n|j}t |d    ƒr|jƒ}|j|jƒnt |d
ƒr9t |jtƒr9t|jƒ}ng}|j|j|j|ƒ|j|ƒ|j|d ƒ\}}    t |    d ƒr¸|    jr¸|j|d dd|gƒdSt |d
ƒr\t |jtƒr\d}
xm|jD]b\} } } }t |    |j| ƒƒréd }
t |dƒr2|ƒqKt d|| fƒ‚qéqéW|
r\dSn|j|ƒ}x0t|    ƒjƒD]\}}d|f||<q~W|S(sÚParse the command-line options for a single command.
        'parser' must be a FancyGetopt instance; 'args' must be the list
        of arguments, starting with the current command (whose options
        we are about to parse).  Returns a new version of 'args' with
        the next command at the front of the list; will be the empty
        list if there are no more commands on the command line.  Returns
        None if the user asked for help on this command.
        iÿÿÿÿ(tCommandisinvalid command name '%s's&command class %s must subclass Commandt user_optionsscommand class %s must provide s+'user_options' attribute (a list of tuples)RŽt help_optionsiRR™RnNt__call__sYinvalid help function %r for help option '%s': must be a callable object (function, etc.)s command line(t distutils.cmdR¨t
command_retmatcht
SystemExitRnR~tget_command_classRRt
issubclassRRQt
isinstanceR©tlistRŽtcopytupdateRªtfix_help_optionstset_option_tableR§R›RRR¢t get_attr_nameRKtvarsRJ(RXR‘R—R¨R]t    cmd_classRbRŽRªtoptsthelp_option_foundt help_optiontshorttdesctfuncR_Rtvalue((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR¡õsf
 
 
       
cCs†xdD]w}t|j|ƒ}|dkr1qnt|tƒrg|jdƒD]}|jƒ^qP}t|j||ƒqqWdS(s›Set final values for all the options on the Distribution
        instance, analogous to the .finalize_options() method of Command
        objects.
        R!Rt,N(skeywordss    platforms(R2R0R4R²tstrRltstripR.(RXRZRÁtelm((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRWRs  (c
Csbddlm}ddlm}|rm|r;|jƒ}n    |j}|j|ƒ|j|jdƒdGHn|rœ|j|j    ƒ|jddƒdGHnx±|j
D]¦}t |t ƒrÓt ||ƒrÓ|}    n|j|ƒ}    t|    dƒr#t |    jtƒr#|j|    jt|    jƒƒn|j|    jƒ|jd    |    jƒdGHq¦W||jƒGHd
S( sbShow help for the setup script command-line in the form of
        several lists of command-line options.  'parser' should be a
        FancyGetopt instance; do not expect it to be returned in the
        same state, as its option table will be reset to make it
        generate the correct help text.
 
        If 'global_options' is true, lists the global options:
        --verbose, --dry-run, etc.  If 'display_options' is true, lists
        the "display-only" options: --name, --version, etc.  Finally,
        lists per-command help for every command name or command class
        in 'commands'.
        iÿÿÿÿ(t    gen_usage(R¨s
Global options:R(s*Information display options (just display s!information, ignore any commands)RªsOptions for '%s' command:N(tdistutils.coreRÆR¬R¨RšR§R·t
print_helpt common_usageR™RnR²ttypeR±R°RQRªR³R©R¶RˆR6(
RXR‘R§R™RnRÆR¨R)R]tklass((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR¢_s6              c    Csddlm}|jr:|jƒdGH||jƒGHdSd}i}x|jD]}d||d<qPWx–|D]Ž\}}|ro|j|ƒrot|ƒ}t|j    d|ƒƒ}|dkrÒd    j
|ƒGHn"|dkrïdj
|ƒGHn|GHd}qoqoW|S(sÚIf there were any non-global "display-only" options
        (--help-commands or the metadata display options) on the command
        line, display the requested info and return true; else return
        false.
        iÿÿÿÿ(RÆR(iiR'R!RRÂR R"R#R$s
(skeywordss    platforms(s classifierssprovidessrequiress    obsoletes( RÇRÆt help_commandstprint_commandsR6R™RIRR2R0R|(    RXR¥RÆtany_display_optionstis_display_optiontoptionR`RaRÁ((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR ‘s,    
       cCs|dGHxq|D]i}|jj|ƒ}|s@|j|ƒ}ny |j}Wntk
rfd}nXd|||fGHqWdS(sZPrint a subset of the list of all commands -- used by
        'print_commands()'.
        t:s(no description available)s
  %-*s  %sN(R3RIR°RtAttributeError(RXRnRmt
max_lengthtcmdRËR((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytprint_command_list¹s       
cCsèddl}|jj}i}x|D]}d||<q%Wg}x6|jjƒD]%}|j|ƒsO|j|ƒqOqOWd}x3||D]'}t|ƒ|kr‰t|ƒ}q‰q‰W|j|d|ƒ|räH|j|d|ƒndS(snPrint out a help message listing all available commands with a
        description of each.  The list is divided into "standard commands"
        (listed in distutils.command.__all__) and "extra commands"
        (mentioned in self.cmdclass, but not a standard command).  The
        descriptions come from the command class attribute
        'description'.
        iÿÿÿÿNiisStandard commandssExtra commands(    tdistutils.commandR]t__all__R3RiRIR~R£RÕ(RXRtt std_commandstis_stdRÔtextra_commandsRÓ((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRÍÊs*           c    Csûddl}|jj}i}x|D]}d||<q%Wg}x6|jjƒD]%}|j|ƒsO|j|ƒqOqOWg}xv||D]j}|jj|ƒ}|s¹|j|ƒ}ny |j}Wnt    k
rßd}nX|j||fƒq‰W|S(s>Get a list of (command, description) tuples.
        The list is divided into "standard commands" (listed in
        distutils.command.__all__) and "extra commands" (mentioned in
        self.cmdclass, but not a standard command).  The descriptions come
        from the command class attribute 'description'.
        iÿÿÿÿNis(no description available)(
RÖR]R×R3RiRIR~R°RRÒ(    RXRtRØRÙRÔRÚtrvRËR((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_command_listës(
 
cCs|j}t|tƒsŒ|dkr-d}ng|jdƒD]}|dkr=|jƒ^q=}d|kr€|jddƒn||_n|S(s9Return a list of packages from which commands are loaded.R(RÂsdistutils.commandiN(R5R²R³R4RlRÄtinsert(RXtpkgstpkg((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_command_packagess         4  cCsÚ|jj|ƒ}|r|Sx§|jƒD]™}d||f}|}yt|ƒtj|}Wntk
rvq)nXyt||ƒ}Wn'tk
r³t    d|||f‚nX||j|<|SWt    d|ƒ‚dS(soReturn the class that implements the Distutils command named by
        'command'.  First we check the 'cmdclass' dictionary; if the
        command is mentioned there, we fetch the class object from the
        dictionary and return it.  Otherwise we load the command module
        ("distutils.command." + command) and fetch the command class from
        the module.  The loaded class is also stored in 'cmdclass'
        to speed future calls to 'get_command_class()'.
 
        Raises DistutilsModuleError if the expected module could not be
        found, or if that module does not define the expected class.
        s%s.%ss3invalid command '%s' (no class '%s' in module '%s')sinvalid command '%s'N(
R3RIRàt
__import__RNRzt ImportErrorR2RÒR(RXR]RËtpkgnamet module_namet
klass_nametmodule((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR°s( 
   cCsž|jj|ƒ}| rš|rštr9|jd|ƒn|j|ƒ}||ƒ}|j|<d|j|<|jj|ƒ}|rš|j||ƒqšn|S(sReturn the command object for 'command'.  Normally this object
        is cached on a previous call to 'get_command_obj()'; if no command
        object for 'command' is in the cache, then we either create and
        return it (if 'create' is true) or return None.
        s<Distribution.get_command_obj(): creating '%s' command objecti(RGRIR RkR°RHR8t_set_command_options(RXR]tcreatetcmd_objRËR)((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_command_objAs       c Csª|jƒ}|dkr*|j|ƒ}ntrD|jd|ƒnx_|jƒD]Q\}\}}tr†|jd|||fƒnytt|jƒ}Wnt    k
rµg}nXy |j
}Wnt    k
rÜi}nXy¦t |t ƒ}    ||kr|    rt |||t|ƒ ƒnc||krJ|    rJt ||t|ƒƒn8t||ƒrlt |||ƒntd|||f‚WqQtk
r¡}
t|
‚qQXqQWdS(sySet the options for 'command_obj' from 'option_dict'.  Basically
        this means copying elements of a dictionary ('option_dict') to
        attributes of an instance ('command').
 
        'command_obj' must be a Command instance.  If 'option_dict' is not
        supplied, uses the standard option dictionary for this command
        (from 'self.command_options').
        s#  setting options for '%s' command:s    %s = %s (from %s)s1error in %s: command '%s' has no such option '%s'N(tget_command_nameR4RKR RkRJtmapRtboolean_optionsRÒRŽR²RÃR.RRQRR( RXRGt option_dictt command_nameRÐtsourceRÁt    bool_optstneg_optt    is_stringRb((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRç\s<       
 
icCs±ddlm}t||ƒs7|}|j|ƒ}n |jƒ}|jsP|S|jƒd|_d|j|<|j|ƒ|r­x'|j    ƒD]}|j
||ƒqWn|S(s³Reinitializes a command to the state it was in when first
        returned by 'get_command_obj()': ie., initialized but not yet
        finalized.  This provides the opportunity to sneak option
        values in programmatically, overriding or supplementing
        user-supplied values from the config files and command line.
        You'll have to re-finalize the command object (by calling
        'finalize_options()' or 'ensure_finalized()') before using it for
        real.
 
        'command' should be a command name (string) or command object.  If
        'reinit_subcommands' is true, also reinitializes the command's
        sub-commands, as declared by the 'sub_commands' class attribute (if
        it has one).  See the "install" command for an example.  Only
        reinitializes the sub-commands that actually matter, ie. those
        whose test predicates return true.
 
        Returns the reinitialized command object.
        iÿÿÿÿ(R¨i( R¬R¨R²RêRët    finalizedtinitialize_optionsRHRçtget_sub_commandstreinitialize_command(RXR]treinit_subcommandsR¨Rïtsub((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR÷‡s     
      cCstj||ƒdS(N(R
(RXRbtlevel((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRk°scCs%x|jD]}|j|ƒq
WdS(s¶Run each command that was seen on the setup script command line.
        Uses the list of commands found and cache of command objects
        created by 'get_command_obj()'.
        N(Rnt run_command(RXRÔ((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt run_commands³scCsZ|jj|ƒrdStjd|ƒ|j|ƒ}|jƒ|jƒd|j|<dS(sªDo whatever it takes to run a command (including nothing at all,
        if the command has already been run).  Specifically: if we have
        already created and run the command named by 'command', return
        silently without doing anything.  If the command named by 'command'
        doesn't even have a command object yet, create one.  Then invoke
        'run()' on that command object (or an existing one).
        Ns
running %si(RHRIR
tinfoRêtensure_finalizedtrun(RXR]Ré((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRû½s    
 
cCs"t|jp|jpgƒdkS(Ni(R£R:R=(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pythas_pure_modulesÒscCs|jot|jƒdkS(Ni(R@R£(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pythas_ext_modulesÕscCs|jot|jƒdkS(Ni(R>R£(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pythas_c_librariesØscCs|jƒp|jƒS(N(RR(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt has_modulesÛscCs|jot|jƒdkS(Ni(R?R£(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt has_headersÞscCs|jot|jƒdkS(Ni(RDR£(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt has_scriptsáscCs|jot|jƒdkS(Ni(RER£(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pythas_data_filesäscCs$|jƒo#|jƒ o#|jƒ S(N(RRR(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytis_pureçs  (sverboseRsrun verbosely (default)i(squietRs!run quietly (turns verbosity off)(sdry-runRsdon't actually do anything(shelpRsshow detailed help messageN(s no-user-cfgNs-ignore pydistutils.cfg in your home directory(s help-commandsNslist all available commands(snameNsprint package name(sversionRsprint package version(sfullnameNsprint <package name>-<version>(sauthorNsprint the author's name(s author-emailNs print the author's email address(s
maintainerNsprint the maintainer's name(smaintainer-emailNs$print the maintainer's email address(RNs7print the maintainer's name if known, else the author's(s contact-emailNs@print the maintainer's email address if known, else the author's(surlNsprint the URL for this package(slicenseNs print the license of the package(slicenceNsalias for --license(s descriptionNsprint the package description(slong-descriptionNs"print the long package description(s    platformsNsprint the list of platforms(s classifiersNsprint the list of classifiers(skeywordsNsprint the list of keywords(sprovidesNs+print the list of packages/modules provided(srequiresNs+print the list of packages/modules required(s    obsoletesNs0print the list of packages/modules made obsolete(*Rˆt
__module__t__doc__R4R§RÉR™RìR-RŽReRKRsR†R–R¦RšR¡RWR¢R RÕRÍRÜRàR°RêRçR÷R
tINFORkRüRûRRRRRRRR(((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR "s¨      
              ¡         0 .    C        ]      1    (        !    #        '  + )    
                               R/cBs+eZdZd3Zd4d„Zd„Zd„Zd„Zd„Z    d„Z
d„Z d„Z d„Z d„Zd„Zd „Zd!„Zd"„Zd#„Zd$„Zd%„Zd&„ZeZd'„Zd(„Zd)„Zd*„Zd+„Zd,„Zd-„Zd.„Zd/„Z d0„Z!d1„Z"d2„Z#RS(5s]Dummy class to hold the distribution meta-data: name, version,
    author, and so forth.
    RRRt author_emailRtmaintainer_emailRRRtlong_descriptionR!RRRt contact_emailR t download_urlR"R#R$cCs¿|dk    r"|jt|ƒƒn™d|_d|_d|_d|_d|_d|_d|_    d|_
d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_dS(N(R4t read_pkg_filetopenRRRR RR RRRR R!RR RR"R#R$(RXRx((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRes&                                                                 cs”t|ƒ‰‡fd†}‡fd†}ˆd}|dƒ|_|dƒ|_|dƒ|_|dƒ|_d|_|dƒ|_d|_|d    ƒ|_    |d
ƒ|_
d ˆkrÍ|d ƒ|_ n    d|_ |d ƒ|_ |dƒ|_d ˆkr|d ƒj dƒ|_n|dƒ|_|dƒ|_|dkru|dƒ|_|dƒ|_|dƒ|_nd|_d|_d|_dS(s-Reads the metadata values from a file object.csˆ|}|dkrdS|S(NtUNKNOWN(R4(RRÁ(Rb(sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt _read_fields
 cs&ˆj|dƒ}|gkr"dS|S(N(tget_allR4(Rtvalues(Rb(sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt
_read_list#s smetadata-versionRRtsummaryRs author-emails    home-pageRs download-urlRR!RÂtplatformt
classifiers1.1R#R"R$N(RRRRRR4RR R RRRR RlR!RR R#R"R$(RXtfileRRtmetadata_version((RbsV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRs: 
                       cCsAttjj|dƒdƒ}z|j|ƒWd|jƒXdS(s7Write the PKG-INFO file into the release tree.
        sPKG-INFOtwN(RRwRxR|twrite_pkg_filetclose(RXtbase_dirtpkg_info((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytwrite_pkg_infoMscCs÷d}|js3|js3|js3|js3|jr<d}n|j|d|ƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|j    ƒƒ|j|d|j
ƒƒ|j|d    |j ƒƒ|j|d
|j ƒƒ|jr |j|d |jƒnt |jƒƒ}|j|d |ƒd j|jƒƒ}|rv|j|d|ƒn|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒ|j|d|jƒƒdS(s9Write the PKG-INFO format data to a file object.
        s1.0s1.1sMetadata-VersiontNametVersiontSummarys    Home-pagetAuthors Author-emailtLicenses Download-URLt DescriptionRÂtKeywordstPlatformt
ClassifiertRequirestProvidest    ObsoletesN(R"R#R$R Rt _write_fieldtget_namet get_versiontget_descriptiontget_urlt get_contacttget_contact_emailt get_licenseR    tget_long_descriptionR|t get_keywordst _write_listt get_platformstget_classifierst get_requirest get_providest get_obsoletes(RXRRt    long_descR!((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyRVs0        cCs$|jd||j|ƒfƒdS(Ns%s: %s
(RPt _encode_field(RXRRRÁ((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR.xscCs(x!|D]}|j|||ƒqWdS(N(R.(RXRRRRÁ((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR8{s cCs6|dkrdSt|tƒr,|jtƒSt|ƒS(N(R4R²tunicodetencodetPKG_INFO_ENCODINGRÃ(RXRÁ((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR?s
  cCs |jp dS(NR(R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR/ˆscCs |jp dS(Ns0.0.0(R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR0‹scCsd|jƒ|jƒfS(Ns%s-%s(R/R0(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt get_fullnameŽscCs|j|jƒpdS(NR(R?R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt
get_author‘scCs |jp dS(NR(R (RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_author_email”scCs|j|jƒpdS(NR(R?R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_maintainer—scCs |jp dS(NR(R (RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_maintainer_emailšscCs(|j|jƒp'|j|jƒp'dS(NR(R?RR(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR3scCs|jp|jpdS(NR(R R (RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR4¡scCs |jp dS(NR(R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR2¤scCs |jp dS(NR(R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR5§scCs|j|jƒpdS(NR(R?R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR1«scCs|j|jƒpdS(NR(R?R (RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR6®scCs |jp gS(N(R!(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR7±scCs|jpdgS(NR(R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR9´scCs |jp gS(N(R (RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR:·scCs |jp dS(NR(R(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pytget_download_urlºscCs |jp gS(N(R#(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR;¾scCs:ddl}x|D]}|jj|ƒqW||_dS(Niÿÿÿÿ(tdistutils.versionpredicatetversionpredicatetVersionPredicateR#(RXRÁRtR((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt set_requiresÁs  cCs |jp gS(N(R"(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR<ÇscCsYg|D]}|jƒ^q}x*|D]"}ddl}|jj|ƒq&W||_dS(Niÿÿÿÿ(RÄRIRJtsplit_provisionR"(RXRÁRRt((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt set_providesÊs
  cCs |jp gS(N(R$(RX((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR=ÑscCs:ddl}x|D]}|jj|ƒqW||_dS(Niÿÿÿÿ(RIRJRKR$(RXRÁRtR((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt set_obsoletesÔs  (snamesversionsauthors author_emails
maintainersmaintainer_emailsurlslicenses descriptionslong_descriptionskeywordss    platformssfullnamescontactRslicenses classifierss download_urlsprovidessrequiress    obsoletesN($RˆRR    R1R4ReRR!RR.R8R?R/R0RCRDRERFRGR3R4R2R5t get_licenceR1R6R7R9R:RHR;RLR<RNR=RO(((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR/ósN     4            "                                                                                                        cCs/g}x"|D]}|j|dd!ƒq W|S(sConvert a 4-tuple 'help_options' list as found in various command
    classes to the 3-tuple form required by FancyGetopt.
    ii(R~(R)t new_optionst
help_tuple((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyR¶Ús ( R    t __revision__RNRwtretemailRRLRâR4tdistutils.errorsRRRRtdistutils.fancy_getoptRRtdistutils.utilRRR    RtR
tdistutils.debugR RBtcompileR­R R/R¶(((sV/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/distutils/dist.pyt<module>s($ 
"ÿÿÿÔç