b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 172.67.192.52 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / distutils /
Filename/usr/lib64/python2.6/distutils/dist.pyc
Size37.27 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:40
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@sEdZdZddkZddkZddkZddkZddkTddklZyddkZWne j
o
e
ZnXddk Tddk l
Z
lZddklZlZlZddklZdd klZd
Zeid �Zd fd
��YZdfd��YZd�Zedjoe�ZdGHndS(s}distutils.dist

Provides the Distribution class, which represents the module distribution
being built/installed/distributed.
s5$Id: dist.py 77719 2010-01-24 00:57:20Z tarek.ziade $iÿÿÿÿN(t*(tcopy(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^gZdZd`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtgZed:�e�Zhdd6Z d_d;�Z
d<�Z d_d_d=d>�Z d?�Z
d_d@�ZdA�ZdB�ZdC�ZdD�ZddgdE�ZdF�ZdG�ZdH�ZdI�ZdJ�ZdK�ZddL�Zd_dM�ZdNdO�ZddP�ZdQ�ZdR�ZdS�Z dT�Z!dU�Z"dV�Z#dW�Z$dX�Z%dY�Z&dZ�Z'RS(us½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£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(i(R(tx((s&/usr/lib64/python2.6/distutils/dist.pyt<lambda>wsc
Csd|_d|_d|_x!|iD]}t||d�q%Wt�|_x:|iiD],}d|}t||t|i|��qXWh|_ d |_ d |_ d |_
h|_g|_d |_h|_d |_d |_d |_d |_d |_d |_d |_d |_d |_d |_h|_h|_|oÄ|id�}|d j od|d=xZ|i�D]H\}}|i |�}x*|i�D]\} }
d|
f|| <q�WqsWnd|joQ|d|d<|d=d} t!d j ot!i"| �q!t#i$i%| d �nxã|i�D]Ñ\} }
t&|id
| �ot|id
| �|
�q.t&|i| �ot|i| |
�q.t&|| �ot|| |
�q.d t'| �} t!d j ot!i"| �q.t#i$i%| d �q.Wn|i(�d S(
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_toptionss setup scriptRRs:'licence' distribution option is deprecated; use 'license's
tset_sUnknown distribution option: %sN()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_filest command_objthave_runtgettitemstget_option_dicttwarningstwarntsyststderrtwritethasattrtreprtfinalize_options(
tselftattrstattrtbasenamet method_nameR%tcommandt cmd_optionstopt_dicttopttvaltmsgtkey((s&/usr/lib64/python2.6/distutils/dist.pyt__init__�sz   
 

                   






cCs8|ii|�}|djoh}|i|<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(R3RCR/(RNRStdict((s&/usr/lib64/python2.6/distutils/dist.pyREs
tc Csûddkl}|djo|ii�}|i�n|dj o||GH|d}n|p|dGHdSx�|D]y}|ii|�}|djo|d|GHqz|d|GH||�}x'ti|d�D]}|d|GHqÜWqzWdS(Niÿÿÿÿ(tpformats sno commands known yetsno option dict for '%s' commandsoption dict for '%s' command:s
( tpprintR]R/R3tkeystsortRCtstringtsplit( RNtheadertcommandstindentR]tcmd_nameRUtouttline((s&/usr/lib64/python2.6/distutils/dist.pytdump_option_dicts s(

  

 cCsõg}t�tiitidi�}tii|d�}tii|�o|i |�nti
djo
d}nd}tiitii d�|�}tii|�o|i |�nd}tii|�o|i |�n|S(sXFind 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.
t distutilss
distutils.cfgtposixs.pydistutils.cfgspydistutils.cfgt~s setup.cfg( RtostpathtdirnameRHtmodulest__file__tjointisfiletappendRt
expanduser(RNtfilestsys_dirtsys_filet
user_filenamet user_filet
local_file((s&/usr/lib64/python2.6/distutils/dist.pytfind_config_files?s 
!c
Csâddkl}|djo|i�}nto dGHn|�}xÇ|D]¿}to
dG|GHn|i|�x�|i�D]}}|i|�}|i|�}xV|D]N}|djo;|i||�} t i
|dd�}|| f||<q¬q¬Wq�W|i �qMWd|i jo¾x»|i di
�D]¢\}\}
} |ii|�} y]| ot|| t| � �n8|d jot||t| ��nt||| �Wq4tj
o} t| �q4Xq4WndS( Niÿÿÿÿ(t ConfigParsers"Distribution.parse_config_files():s readingt__name__t-t_tglobalR
R'(sverbosesdry_run(R}R/R|RtreadtsectionsR%RERCRatreplaceRZR3RDt negative_optR)Rt
ValueErrortDistutilsOptionError(
RNt filenamesR}tparsertfilenametsectionR%RURVRWtsrctaliasRX((s&/usr/lib64/python2.6/distutils/dist.pytparse_config_filesksD
  




cCsh|i�}tidjo8ddk}|i�}|i||i|�|_ng|_t ||i�}|i
|i �|i hdd6�|i
d|id|�}|i�}ti|i�|i|�odSx0|o(|i||�}|djodSqãW|io0|i|dt|i�d jd
|i�dS|ip
td �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).
tmaciÿÿÿÿNRRtargstobjecttdisplay_optionsiRdsno commands suppliedi(t_get_toplevel_optionsRHtplatformt EasyDialogstget_command_listtGetArgvR�R2RdRtset_negative_aliasesR�t set_aliasestgetopttget_option_orderRt
set_verbosityR
thandle_display_optionst_parse_command_optsR/Rt
_show_helptlentDistutilsArgError(RNttoplevel_optionsR�tcmdlistR�R�t option_order((s&/usr/lib64/python2.6/distutils/dist.pytparse_command_line�s8     


 


cCs|idgS(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_optionsR/(RN((s&/usr/lib64/python2.6/distutils/dist.pyR�åsc CsÂddkl}|d}ti|�ptd|�n|ii|�y|i|�}Wntj
o}t |�nXt
||�pt d|�nt |d�ot
|i�tjpt dd|�n|i}t |d �o t|�}|i|i�nt |d
�o)t
|i�tjot|i�}ng}|i|i|i|�|i|�|i|d �\}} t | d �o+| io!|i|d
dd|g�dSt |d
�o�t
|i�tjo�d}
xn|iD]c\} } }
}t | |i| ��o8d }
t|�o |�qht d|| f��qqW|
odSn|i|�}x0t| �i�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�RdNsYinvalid help function %r for help option '%s': must be a callable object (function, etc.)s command line( t
distutils.cmdR§t
command_retmatcht
SystemExitRdRttget_command_classtDistutilsModuleErrorR¡t
issubclasstDistutilsClassErrorRKttypeR¨tListTypeR�RtupdateR©tfix_help_optionstset_option_tableR¦R�R�RR�t
get_attr_nametcallableREtvarsRD(RNR�R�R§RSt cmd_classRXR�R©toptsthelp_option_foundt help_optiontshorttdesctfuncRURtvalue((s&/usr/lib64/python2.6/distutils/dist.pyR�ðsj

   



   cCsÀ|ii}|dj oEt|�tjo.ti|d�}tti|�|i_q^n|ii }|dj oEt|�tjo.ti|d�}tti|�|i_ q¼ndS(s�Set final values for all the options on the Distribution
instance, analogous to the .finalize_options() method of Command
objects.
t,N(
R+RR/R²t
StringTypeRaRbtmaptstripR(RNRt keywordlistRt platformlist((s&/usr/lib64/python2.6/distutils/dist.pyRMRs 
  
c
Cshddkl}ddkl}|oF|o|i�}n
|i}|i|�|i|id�Hn|o&|i|i �|idd�Hnx¹|i
D]®}t |�t jot
||�o
|} n|i|�} t| d�o7t | i�tjo!|i| it| i��n|i| i�|id| i�Hq¤W||i�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: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�RdR²t ClassTypeR°R®RKR©R³R¨RµR~R1(
RNR�R¦R�RdRÈR§R%RStklass((s&/usr/lib64/python2.6/distutils/dist.pyR�ds: 

#
 c Csddkl}|io|i�H||i�GHdSd}h}x|iD]}d||d<qNWx£|D]�\}}|o�|i|�oxt|�}t|i d|��}|djot
i |d�GHn(|djot
i |d
�GHn|GHd}qmqmW|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ÈiiR$RRRÂRRR R!s
(skeywordss platforms(s classifierssprovidessrequiress obsoletes( RÉRÈt
help_commandstprint_commandsR1R�RCRR-R+RaRr( RNR¤RÈtany_display_optionstis_display_optiontoptionRVRWRÁ((s&/usr/lib64/python2.6/distutils/dist.pyR��s0


  

cCs�|dGHxu|D]m}|ii|�}|p|i|�}ny
|i}Wntj
o
d}nXd|||fGHqWdS(sZPrint a subset of the list of all commands -- used by
'print_commands()'.
t:s(no description available)s
%-*s %sN(R.RCR®RtAttributeError(RNRdRct
max_lengthtcmdRÍR((s&/usr/lib64/python2.6/distutils/dist.pytprint_command_listÇs 
 c Csîddk}|ii}h}x|D]}d||<q%Wg}x8|ii�D]'}|i|�p|i|�qOqOWd}x5||D])}t|�|jot|�}q�q�W|i|d|�|oH|i|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.commandRSt__all__R.R_RCRtR R×(RNRjt std_commandstis_stdRÖtextra_commandsRÕ((s&/usr/lib64/python2.6/distutils/dist.pyRÏÜs0     c Csddk}|ii}h}x|D]}d||<q%Wg}x8|ii�D]'}|i|�p|i|�qOqOWg}xz||D]n}|ii|�}|p|i|�}ny
|i}Wnt j
o
d}nX|i||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ØRSRÙR.R_RCRtR®RRÔ( RNRjRÚRÛRÖRÜtrvRÍR((s&/usr/lib64/python2.6/distutils/dist.pyR�s.
  
 cCs­|i}t|tg��p�ti|pdd�}x1tt|��D]}ti||�||<qKWtd|�}d|jo|i
dd�n||_n|S(s9Return a list of packages from which commands are loaded.R\RÂsdistutils.commandiN( R0t
isinstanceR²RaRbtrangeR RÅtfilterR/tinsert(RNtpkgsti((s&/usr/lib64/python2.6/distutils/dist.pytget_command_packages#s 

c
Csà|ii|�}|o|Sx«|i�D]�}d||f}|}yt|�ti|}Wntj
o
q+nXyt||�}Wn)tj
ot d|||f�nX||i|<|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(
R.RCRät
__import__RHRpt ImportErrorR-RÔR¯(RNRSRÍtpkgnamet module_namet
klass_nametmodule((s&/usr/lib64/python2.6/distutils/dist.pyR®0s* 


cCs�|ii|�}| o|oxto
d|GHn|i|�}||�}|i|<d|i|<|ii|�}|o|i||�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(RARCRR®RBR3t_set_command_options(RNRStcreatetcmd_objRÍR%((s&/usr/lib64/python2.6/distutils/dist.pytget_command_objYs

c Cs±|i�}|djo|i|�}nto
d|GHnxj|i�D]\\}\}}tod|||fGHnytt|i�}Wntj
o
g}nXy
|i }Wntj
o
h}nXy±t
|�t j} ||jo&| ot |||t
|� �ni||jo!| ot ||t
|��n;t||�ot |||�ntd|||f�WqMtj
o}
t|
�qMXqMWdS(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_nameR/RERRDRÄRtboolean_optionsRÔR�R²RÃR)RRKR�R�( RNRAt option_dictt command_nameRÒtsourceRÁt bool_optstneg_optt is_stringRX((s&/usr/lib64/python2.6/distutils/dist.pyRëts< 


 
 icCs·ddkl}t||�p|}|i|�}n
|i�}|ip|S|i�d|_d|i|<|i|�|o+x(|i �D]}|i
||�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_optionsRBRëtget_sub_commandstreinitialize_command(RNRStreinit_subcommandsR§Ròtsub((s&/usr/lib64/python2.6/distutils/dist.pyRú�s  

 


cCsti|�dS(N(Rtdebug(RNRXtlevel((s&/usr/lib64/python2.6/distutils/dist.pytannounceÆscCs%x|iD]}|i|�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(Rdt run_command(RNRÖ((s&/usr/lib64/python2.6/distutils/dist.pyt run_commandsÉs
cCs\|ii|�odStid|�|i|�}|i�|i�d|i|<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(RBRCRtinfoRîtensure_finalizedtrun(RNRSRí((s&/usr/lib64/python2.6/distutils/dist.pyRÔs 

cCs$t|ip|ipg�djS(Ni(R R5R8(RN((s&/usr/lib64/python2.6/distutils/dist.pythas_pure_moduleséscCs|iot|i�djS(Ni(R;R (RN((s&/usr/lib64/python2.6/distutils/dist.pythas_ext_modulesìscCs|iot|i�djS(Ni(R9R (RN((s&/usr/lib64/python2.6/distutils/dist.pythas_c_librariesïscCs|i�p
|i�S(N(RR(RN((s&/usr/lib64/python2.6/distutils/dist.pyt has_modulesòscCs|iot|i�djS(Ni(R:R (RN((s&/usr/lib64/python2.6/distutils/dist.pyt has_headersõscCs|iot|i�djS(Ni(R?R (RN((s&/usr/lib64/python2.6/distutils/dist.pyt has_scriptsøscCs|iot|i�djS(Ni(R@R (RN((s&/usr/lib64/python2.6/distutils/dist.pythas_data_filesûscCs&|i�o|i� o |i� S(N(RRR(RN((s&/usr/lib64/python2.6/distutils/dist.pytis_pureþs
(sverboseR srun verbosely (default)i(squietR
s!run quietly (turns verbosity off)(sdry-runRsdon't actually do anything(shelpRsshow detailed help messageN(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__R¦RËR/R�RÄR(R�RZRERiR|R�R¥R�R�RMR�R�R×RÏR�RäR®RîRëRúRÿRRRRRRR R
R R (((s&/usr/lib64/python2.6/distutils/dist.pyR $s¦  
   
 �
 , / K b  5 *  $ #
)  ( *         R*cBseZdZd2Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z
d�Z d�Z d�Z
d�Zd �Zd!�Zd"�Zd#�Zd$�Zd%�ZeZd&�Zd'�Zd(�Zd)�Zd*�Zd+�Zd,�Zd-�Zd.�Zd/�Zd0�Z d1�Z!RS(3s]Dummy class to hold the distribution meta-data: name, version,
author, and so forth.
RRRt author_emailRtmaintainer_emailRRRtlong_descriptionRRRRt
contact_emailRt download_urlRR R!cCs�d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_
d|_ d|_ d|_
d|_d|_d|_d|_dS(N(R/RRRRRRRRRRRRRRRR R!(RN((s&/usr/lib64/python2.6/distutils/dist.pyRZs"                cCs9ttii|d�d�}|i|�|i�dS(s7Write the PKG-INFO file into the release tree.
sPKG-INFOtwN(topenRmRnRrtwrite_pkg_filetclose(RNtbase_dirtpkg_info((s&/usr/lib64/python2.6/distutils/dist.pytwrite_pkg_info0s
cCsðd}|ip|ip
|io
d}n|i|d|�|i|d|i��|i|d|i��|i|d|i��|i|d|i��|i|d|i��|i|d |i ��|i|d
|i
��|i o|i|d |i �nt |i
��}|i|d |�ti|i�d
�}|o|i|d|�n|i|d|i��|i|d|i��|i|d|i��|i|d|i��|i|d|i��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(RR R!t _write_fieldtget_namet get_versiontget_descriptiontget_urlt get_contacttget_contact_emailt get_licenseRRtget_long_descriptionRaRrt get_keywordst _write_listt
get_platformstget_classifierst get_requirest get_providest
get_obsoletes(RNtfileRt long_descR((s&/usr/lib64/python2.6/distutils/dist.pyR;s.

cCs$|id||i|�f�dS(Ns%s: %s
(RJt
_encode_field(RNR7RRÁ((s&/usr/lib64/python2.6/distutils/dist.pyR'\scCs(x!|D]}|i|||�qWdS(N(R'(RNR7RtvaluesRÁ((s&/usr/lib64/python2.6/distutils/dist.pyR1_scCs:|djodSt|t�o|it�St|�S(N(R/RÞtunicodetencodetPKG_INFO_ENCODINGtstr(RNRÁ((s&/usr/lib64/python2.6/distutils/dist.pyR9ds

cCs|ipdS(NtUNKNOWN(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR(mscCs|ipdS(Ns0.0.0(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR)pscCsd|i�|i�fS(Ns%s-%s(R(R)(RN((s&/usr/lib64/python2.6/distutils/dist.pyt get_fullnamesscCs|i|i�pdS(NR?(R9R(RN((s&/usr/lib64/python2.6/distutils/dist.pyt
get_authorvscCs|ipdS(NR?(R(RN((s&/usr/lib64/python2.6/distutils/dist.pytget_author_emailyscCs|i|i�pdS(NR?(R9R(RN((s&/usr/lib64/python2.6/distutils/dist.pytget_maintainer|scCs|ipdS(NR?(R(RN((s&/usr/lib64/python2.6/distutils/dist.pytget_maintainer_emailscCs*|i|i�p|i|i�pdS(NR?(R9RR(RN((s&/usr/lib64/python2.6/distutils/dist.pyR,�scCs|ip|ipdS(NR?(RR(RN((s&/usr/lib64/python2.6/distutils/dist.pyR-�s

cCs|ipdS(NR?(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR+�scCs|ipdS(NR?(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR.�scCs|i|i�pdS(NR?(R9R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR*�scCs|i|i�pdS(NR?(R9R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR/�scCs|ipgS(N(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR0�scCs|ipdgS(NR?(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR2�scCs|ipgS(N(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR3�scCs|ipdS(NR?(R(RN((s&/usr/lib64/python2.6/distutils/dist.pytget_download_url¡scCs|ipgS(N(R (RN((s&/usr/lib64/python2.6/distutils/dist.pyR4¦scCs:ddk}x|D]}|ii|�qW||_dS(Niÿÿÿÿ(tdistutils.versionpredicatetversionpredicatetVersionPredicateR (RNRÁRjR ((s&/usr/lib64/python2.6/distutils/dist.pyt set_requires©s
 cCs|ipgS(N(R(RN((s&/usr/lib64/python2.6/distutils/dist.pyR5¯scCsag}|D]}||i�q ~}x*|D]"}ddk}|ii|�q.W||_dS(Niÿÿÿÿ(RÅRFRGtsplit_provisionR(RNRÁt_[1]R Rj((s&/usr/lib64/python2.6/distutils/dist.pyt set_provides²s ' cCs|ipgS(N(R!(RN((s&/usr/lib64/python2.6/distutils/dist.pyR6¹scCs:ddk}x|D]}|ii|�qW||_dS(Niÿÿÿÿ(RFRGRHR!(RNRÁRjR ((s&/usr/lib64/python2.6/distutils/dist.pyt
set_obsoletes¼s
 (snamesversionsauthors author_emails
maintainersmaintainer_emailsurlslicenses descriptionslong_descriptionskeywordss platformssfullnamescontactRslicenses classifierss download_urlsprovidessrequiress obsoletes("R~R
RR,RZRRR'R1R9R(R)R@RARBRCRDR,R-R+R.t get_licenceR*R/R0R2R3RER4RIR5RLR6RM(((s&/usr/lib64/python2.6/distutils/dist.pyR*
sL  !                        cCs/g}x"|D]}|i|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(Rt(R%t new_optionst
help_tuple((s&/usr/lib64/python2.6/distutils/dist.pyRµÅs
t__main__tok(Rt __revision__RHRmRatrettypesRRFRæR/tdistutils.errorstdistutils.fancy_getoptRRtdistutils.utilRRRRjRtdistutils.debugRR=tcompileR«R R*RµR~tdist(((s&/usr/lib64/python2.6/distutils/dist.pyt<module>s00
 
ÿÿÿì¸