AlkantarClanX12

Your IP : 18.222.44.156


Current Path : /opt/alt/python33/lib64/python3.3/distutils/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/distutils/__pycache__/dist.cpython-33.pyo

�
��f��c@sdZddlZddlZddlZddlmZyddlZWnek
rdeZYnXddl	Tddl
mZmZddl
mZmZmZddlmZddlmZejd	�ZGd
d�d�ZGdd
�d
�Zdd�ZdS(u}distutils.dist

Provides the Distribution class, which represents the module distribution
being built/installed/distributed.
iN(umessage_from_file(u*(uFancyGetoptutranslate_longopt(u
check_environu	strtoboolu
rfc822_escape(ulog(uDEBUGu^[a-zA-Z]([a-zA-Z0-9_]*)$cBs&|EeZdZdZd|d}d~dgZdZd�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�gZd;d<�eD�Zidd6Z	d{d=d>�Z
d?d@�Zd{d{dAdBdC�ZdDdE�Z
d{dFdG�ZdHdI�ZdJdK�ZdLdM�ZdNdO�ZddgdPdQ�ZdRdS�ZdTdU�ZdVdW�ZdXdY�ZdZd[�Zd\d]�Zdd^d_�Zd{d`da�Zdbdcdd�Zejdedf�Zdgdh�Z didj�Z!dkdl�Z"dmdn�Z#dodp�Z$dqdr�Z%dsdt�Z&dudv�Z'dwdx�Z(dydz�Z)d{S(�uDistributionu�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.
    uverboseuvurun verbosely (default)iuquietuqu!run quietly (turns verbosity off)udry-rununudon't actually do anythinguhelpuhushow detailed help messageu�Common commands: (see '--help-commands' for more)

  setup.py build      will build the package underneath 'build/'
  setup.py install    will install the package
u
help-commandsulist all available commandsunameuprint package nameuversionuVuprint package versionufullnameuprint <package name>-<version>uauthoruprint the author's nameuauthor-emailu print the author's email addressu
maintaineruprint the maintainer's nameumaintainer-emailu$print the maintainer's email addressucontactu7print the maintainer's name if known, else the author'su
contact-emailu@print the maintainer's email address if known, else the author'suurluprint the URL for this packageulicenseu print the license of the packageulicenceualias for --licenseudescriptionuprint the package descriptionulong-descriptionu"print the long package descriptionu	platformsuprint the list of platformsuclassifiersuprint the list of classifiersukeywordsuprint the list of keywordsuprovidesu+print the list of packages/modules providedurequiresu+print the list of packages/modules requiredu	obsoletesu0print the list of packages/modules made obsoletecCs g|]}t|d��qS(i(utranslate_longopt(u.0ux((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
<listcomp>os	uDistribution.<listcomp>c
Csd|_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�}|d
k	r�|d=xY|j �D]H\}}|j!|�}x*|j �D]\}	}
d|
f||	<q�WqzWnd|kr#|d|d<|d=d	}t"d
k	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"d
k	r�t"j#|�q0t$j%j&|d
�q0Wn|j)�d
S(u0Construct 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()'.
        iiuget_uuoptionsusetup scriptulicenceulicenseu:'licence' distribution option is deprecated; use 'license'u
uset_uUnknown distribution option: %sN(*uverboseudry_runuhelpudisplay_option_namesusetattruDistributionMetadataumetadatau_METHOD_BASENAMESugetattrucmdclassuNoneucommand_packagesuscript_nameuscript_argsucommand_optionsu
dist_filesupackagesupackage_dataupackage_diru
py_modulesu	librariesuheadersuext_modulesuext_packageuinclude_dirsu
extra_pathuscriptsu
data_filesupassworducommand_objuhave_runugetuitemsuget_option_dictuwarningsuwarnusysustderruwriteuhasattrureprufinalize_options(
uselfuattrsuattrubasenameumethod_nameuoptionsucommanducmd_optionsuopt_dictuoptuvalumsgukey((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu__init__wsr			
 																					uDistribution.__init__cCs6|jj|�}|dkr2i}|j|<n|S(u�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(ucommand_optionsugetuNone(uselfucommandudict((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_option_dictsuDistribution.get_option_dictuc	Csddlm}|dkr4t|jj��}n|dk	r^|j||�|d}n|sy|j|d�dSx�|D]�}|jj|�}|dkr�|j|d|�q�|j|d|�||�}x,|jd�D]}|j|d|�q�Wq�WdS(Ni(upformatu  uno commands known yetuno option dict for '%s' commanduoption dict for '%s' command:u
(	upprintupformatuNoneusorteducommand_optionsukeysuannounceugetusplit(	uselfuheaderucommandsuindentupformatucmd_nameuopt_dictuoutuline((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyudump_option_dictss&

		uDistribution.dump_option_dictscCs�g}t�tjjtjdj�}tjj|d�}tjj|�r`|j	|�ntj
dkrxd}nd}tjjtjjd�|�}tjj|�r�|j	|�nd}tjj|�r�|j	|�n|S(uXFind 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.
        u	distutilsu
distutils.cfguposixu.pydistutils.cfgupydistutils.cfgu~u	setup.cfg(u
check_environuosupathudirnameusysumodulesu__file__ujoinuisfileuappendunameu
expanduser(uselfufilesusys_dirusys_fileu
user_filenameu	user_fileu
local_file((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyufind_config_files/s 	!uDistribution.find_config_filescCsTddlm}tjtjkrRddddddd	d
ddd
ddg
}ng}t|�}|dkr|j�}ntr�|j	d�n|�}x�|D]�}tr�|j	d|�n|j
|�x�|j�D]�}|j|�}|j
|�}x]|D]U}	|	dkr
|	|kr
|j||	�}
|	jdd�}	||
f||	<q
q
Wq�W|j�q�Wd|jkrPx�|jdj�D]�\}	\}}
|jj|	�}yY|r�t||t|
��n5|	dkrt||	t|
��nt||	|
�Wq�tk
rH}
zt|
��WYdd}
~
Xq�Xq�WndS(Ni(uConfigParseruinstall-baseuinstall-platbaseuinstall-libuinstall-platlibuinstall-purelibuinstall-headersuinstall-scriptsuinstall-datauprefixuexec-prefixuhomeuuserurootu"Distribution.parse_config_files():u  reading %su__name__u-u_uglobaluverboseudry_run(uverboseudry_run(uconfigparseruConfigParserusysuprefixubase_prefixu	frozensetuNoneufind_config_filesuDEBUGuannounceureadusectionsuoptionsuget_option_dictugetureplaceu__init__ucommand_optionsuitemsunegative_optusetattru	strtoboolu
ValueErroruDistutilsOptionError(uselfu	filenamesuConfigParseruignore_optionsuparserufilenameusectionuoptionsuopt_dictuoptuvalusrcualiasumsg((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuparse_config_filesXsJ			


&uDistribution.parse_config_filescCs|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(u�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).
        ulicenseulicenceuargsuobjectNudisplay_optionsiucommandsuno commands suppliedT(u_get_toplevel_optionsucommandsuFancyGetoptudisplay_optionsuset_negative_aliasesunegative_optuset_aliasesugetoptuscript_argsuget_option_orderulogu
set_verbosityuverboseuhandle_display_optionsu_parse_command_optsuNoneuhelpu
_show_helpulenuDistutilsArgErroruTrue(uselfutoplevel_optionsuparseruargsuoption_order((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuparse_command_line�s,				
	uDistribution.parse_command_linecCs|jdgS(u�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.
        ucommand-packages=u0list of packages that provide distutils commandsN(ucommand-packages=Nu0list of packages that provide distutils commands(uglobal_optionsuNone(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu_get_toplevel_options�su"Distribution._get_toplevel_optionscCs�ddlm}|d}tj|�s<td|��n|jj|�y|j|�}Wn1tk
r�}zt	|��WYdd}~XnXt
||�s�td|��nt|d�o�t
|jt�s�tdd|��n|j}t|d	�r$|j�}|j|j�nt|d
�rWt
|jt�rWt|j�}ng}|j|j|j|�|j|�|j|dd��\}}	t|	d�r�|	jr�|j|d
dd|g�dSt|d
�r}t
|jt�r}d}
xj|jD]_\}}}
}t|	|j|��r
d}
t|�rS|�qltd||f��q
q
W|
r}dSn|j|�}x0t|	�j�D]\}}d|f||<q�W|S(u�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(uCommanduinvalid command name '%s'Nu&command class %s must subclass Commanduuser_optionsucommand class %s must provide u+'user_options' attribute (a list of tuples)unegative_optuhelp_optionsiuhelpudisplay_optionsucommandsuYinvalid help function %r for help option '%s': must be a callable object (function, etc.)ucommand line( u
distutils.cmduCommandu
command_reumatchu
SystemExitucommandsuappenduget_command_classuDistutilsModuleErroruDistutilsArgErroru
issubclassuDistutilsClassErroruhasattru
isinstanceuuser_optionsulistunegative_optucopyuupdateuhelp_optionsufix_help_optionsuset_option_tableuglobal_optionsuset_negative_aliasesugetoptuhelpu
_show_helpu
get_attr_nameucallableuget_option_dictuvarsuitems(uselfuparseruargsuCommanducommandu	cmd_classumsgunegative_optuhelp_optionsuoptsuhelp_option_founduhelp_optionushortudescufuncuopt_dictunameuvalue((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu_parse_command_opts�sd


	


u Distribution._parse_command_optscCszxsdD]k}t|j|�}|dkr1qnt|t�rdd�|jd�D�}t|j||�qqWdS(u�Set final values for all the options on the Distribution
        instance, analogous to the .finalize_options() method of Command
        objects.
        ukeywordsu	platformscSsg|]}|j��qS((ustrip(u.0uelm((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
<listcomp>Fs	u1Distribution.finalize_options.<locals>.<listcomp>u,N(ukeywordsu	platforms(ugetattrumetadatauNoneu
isinstanceustrusplitusetattr(uselfuattruvalue((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyufinalize_options<s
uDistribution.finalize_optionsc
Csvddlm}ddlm}|rr|r;|j�}n	|j}|j|�|j|jd�t	d�n|r�|j|j
�|jdd�t	d�nx�|jD]�}t|t
�r�t||�r�|}	n|j|�}	t|	d�r-t|	jt�r-|j|	jt|	j��n|j|	j�|jd	|	j�t	d�q�Wt	||j��d
S(ubShow 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(u	gen_usage(uCommandu
Global options:uu*Information display options (just display u!information, ignore any commands)uhelp_optionsuOptions for '%s' command:N(udistutils.coreu	gen_usageu
distutils.cmduCommandu_get_toplevel_optionsuglobal_optionsuset_option_tableu
print_helpucommon_usageuprintudisplay_optionsucommandsu
isinstanceutypeu
issubclassuget_command_classuhasattruhelp_optionsulistuuser_optionsufix_help_optionsu__name__uscript_name(
uselfuparseruglobal_optionsudisplay_optionsucommandsu	gen_usageuCommanduoptionsucommanduklass((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
_show_helpIs6	


	uDistribution._show_helpc	Csddlm}|jrD|j�td�t||j��dSd}i}x|jD]}d||d<qZWx�|D]�\}}|ry|j|�ryt|�}t	|j
d|��}|dkr�tdj|��n,|dkrtd
j|��n
t|�d}qyqyW|S(u�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(u	gen_usageuiuget_ukeywordsu	platformsu,uclassifiersuprovidesurequiresu	obsoletesu
(ukeywordsu	platforms(uclassifiersuprovidesurequiresu	obsoletes(udistutils.coreu	gen_usageu
help_commandsuprint_commandsuprintuscript_nameudisplay_optionsugetutranslate_longoptugetattrumetadataujoin(	uselfuoption_orderu	gen_usageuany_display_optionsuis_display_optionuoptionuoptuvaluvalue((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhandle_display_options{s,	

	

u#Distribution.handle_display_optionscCs�t|d�xw|D]o}|jj|�}|sE|j|�}ny
|j}Wntk
rld}YnXtd|||f�qWdS(uZPrint a subset of the list of all commands -- used by
        'print_commands()'.
        u:u(no description available)u
  %-*s  %sN(uprintucmdclassugetuget_command_classudescriptionuAttributeError(uselfucommandsuheaderu
max_lengthucmduklassudescription((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuprint_command_list�s


uDistribution.print_command_listcCs�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�t	�|j|d|�ndS(unPrint 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'.
        iNiuStandard commandsuExtra commands(
udistutils.commanducommandu__all__ucmdclassukeysugetuappendulenuprint_command_listuprint(uselfu	distutilsustd_commandsuis_stducmduextra_commandsu
max_length((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuprint_commands�s*
		uDistribution.print_commandsc	Cs�ddl}|jj}i}x|D]}d||<q%Wg}x6|jj�D]%}|j|�sO|j|�qOqOWg}xw||D]k}|jj|�}|s�|j|�}ny
|j}Wnt	k
r�d}YnX|j||f�q�W|S(u>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'.
        iNiu(no description available)(
udistutils.commanducommandu__all__ucmdclassukeysugetuappenduget_command_classudescriptionuAttributeError(	uselfu	distutilsustd_commandsuis_stducmduextra_commandsurvuklassudescription((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_command_list�s(	


uDistribution.get_command_listcCsx|j}t|t�st|dkr-d}ndd�|jd�D�}d|krh|jdd�n||_n|S(u9Return a list of packages from which commands are loaded.ucSs(g|]}|dkr|j��qS(u(ustrip(u.0upkg((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
<listcomp>�s	u5Distribution.get_command_packages.<locals>.<listcomp>u,udistutils.commandiN(ucommand_packagesu
isinstanceulistuNoneusplituinsert(uselfupkgs((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_command_packages�s		u!Distribution.get_command_packagescCs�|jj|�}|r|Sx�|j�D]�}d||f}|}yt|�tj|}Wntk
rww)YnXyt||�}Wn+tk
r�t	d|||f��YnX||j|<|SWt	d|��dS(uoReturn 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.
        u%s.%su3invalid command '%s' (no class '%s' in module '%s')uinvalid command '%s'N(
ucmdclassugetuget_command_packagesu
__import__usysumodulesuImportErrorugetattruAttributeErroruDistutilsModuleError(uselfucommanduklassupkgnameumodule_nameu
klass_nameumodule((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_command_classs(



uDistribution.get_command_classcCs�|jj|�}|r�|r�tr9|jd|�n|j|�}||�}|j|<d|j|<|jj|�}|r�|j||�q�n|S(uReturn 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.
        u<Distribution.get_command_obj(): creating '%s' command objecti(ucommand_objugetuDEBUGuannounceuget_command_classuhave_runucommand_optionsu_set_command_options(uselfucommanducreateucmd_objuklassuoptions((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_command_obj)s
	
uDistribution.get_command_objc!Cs�|j�}|dkr*|j|�}ntrD|jd|�nx}|j�D]o\}\}}tr�|jd|||f�nydd�|jD�}Wntk
r�g}YnXy
|j}Wntk
r�i}YnXy�t	|t
�}	||kr%|	r%t|||t|��nf||krP|	rPt||t|��n;t
||�rrt|||�ntd|||f��WqQtk
r�}
zt|
��WYdd}
~
XqQXqQWdS(uySet 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').
        u#  setting options for '%s' command:u    %s = %s (from %s)cSsg|]}t|��qS((utranslate_longopt(u.0uo((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
<listcomp>Xs	u5Distribution._set_command_options.<locals>.<listcomp>u1error in %s: command '%s' has no such option '%s'N(uget_command_nameuNoneuget_option_dictuDEBUGuannounceuitemsuboolean_optionsuAttributeErrorunegative_optu
isinstanceustrusetattru	strtobooluhasattruDistutilsOptionErroru
ValueError(uselfucommand_objuoption_dictucommand_nameuoptionusourceuvalueu	bool_optsuneg_optu	is_stringumsg((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu_set_command_optionsDs>		


u!Distribution._set_command_optionsicCs�ddlm}t||�s7|}|j|�}n|j�}|jsP|S|j�d|_d|j|<|j|�|r�x'|j	�D]}|j
||�q�Wn|S(u�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(uCommand(u
distutils.cmduCommandu
isinstanceuget_command_objuget_command_nameu	finalizeduinitialize_optionsuhave_runu_set_command_optionsuget_sub_commandsureinitialize_command(uselfucommandureinit_subcommandsuCommanducommand_nameusub((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyureinitialize_commandps	
	

u!Distribution.reinitialize_commandcCstj||�dS(N(ulog(uselfumsgulevel((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuannounce�suDistribution.announcecCs%x|jD]}|j|�q
WdS(u�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(ucommandsurun_command(uselfucmd((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyurun_commands�suDistribution.run_commandscCsZ|jj|�rdStjd|�|j|�}|j�|j�d|j|<dS(u�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).
        Nu
running %si(uhave_runugetuloguinfouget_command_objuensure_finalizedurun(uselfucommanducmd_obj((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyurun_command�s	

uDistribution.run_commandcCs"t|jp|jpg�dkS(Ni(ulenupackagesu
py_modules(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_pure_modules�suDistribution.has_pure_modulescCs|jot|j�dkS(Ni(uext_modulesulen(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_ext_modules�suDistribution.has_ext_modulescCs|jot|j�dkS(Ni(u	librariesulen(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_c_libraries�suDistribution.has_c_librariescCs|j�p|j�S(N(uhas_pure_modulesuhas_ext_modules(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_modules�suDistribution.has_modulescCs|jot|j�dkS(Ni(uheadersulen(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_headers�suDistribution.has_headerscCs|jot|j�dkS(Ni(uscriptsulen(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_scripts�suDistribution.has_scriptscCs|jot|j�dkS(Ni(u
data_filesulen(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuhas_data_files�suDistribution.has_data_filescCs$|j�o#|j�o#|j�S(N(uhas_pure_modulesuhas_ext_modulesuhas_c_libraries(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuis_pure�s
uDistribution.is_pureN(uverboseuvurun verbosely (default)i(uquietuqu!run quietly (turns verbosity off)(udry-rununudon't actually do anything(uhelpuhushow detailed help message(u
help-commandsNulist all available commands(unameNuprint package name(uversionuVuprint package version(ufullnameNuprint <package name>-<version>(uauthorNuprint the author's name(uauthor-emailNu print the author's email address(u
maintainerNuprint the maintainer's name(umaintainer-emailNu$print the maintainer's email address(ucontactNu7print the maintainer's name if known, else the author's(u
contact-emailNu@print the maintainer's email address if known, else the author's(uurlNuprint the URL for this package(ulicenseNu print the license of the package(ulicenceNualias for --license(udescriptionNuprint the package description(ulong-descriptionNu"print the long package description(u	platformsNuprint the list of platforms(uclassifiersNuprint the list of classifiers(ukeywordsNuprint the list of keywords(uprovidesNu+print the list of packages/modules provided(urequiresNu+print the list of packages/modules required(u	obsoletesNu0print the list of packages/modules made obsolete(*u__name__u
__module__u__qualname__u__doc__uglobal_optionsucommon_usageuNoneudisplay_optionsudisplay_option_namesunegative_optu__init__uget_option_dictudump_option_dictsufind_config_filesuparse_config_filesuparse_command_lineu_get_toplevel_optionsu_parse_command_optsufinalize_optionsu
_show_helpuhandle_display_optionsuprint_command_listuprint_commandsuget_command_listuget_command_packagesuget_command_classuget_command_obju_set_command_optionsureinitialize_commanduloguINFOuannounceurun_commandsurun_commanduhas_pure_modulesuhas_ext_modulesuhas_c_librariesuhas_modulesuhas_headersuhas_scriptsuhas_data_filesuis_pure(u
__locals__((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuDistributions�	
	
�):C\
1(!"&,)
uDistributioncBsy|EeZdZdZdOZdNdd�Zdd�Zdd�Zdd�Z	dd�Z
d d!�Zd"d#�Zd$d%�Z
d&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Zd4d5�ZeZd6d7�Zd8d9�Zd:d;�Zd<d=�Zd>d?�Zd@dA�ZdBdC�ZdDdE�ZdFdG�ZdHdI�Z dJdK�Z!dLdM�Z"dNS(PuDistributionMetadatau]Dummy class to hold the distribution meta-data: name, version,
    author, and so forth.
    unameuversionuauthoruauthor_emailu
maintainerumaintainer_emailuurlulicenseudescriptionulong_descriptionukeywordsu	platformsufullnameucontactu
contact_emailuclassifiersudownload_urluprovidesurequiresu	obsoletescCs�|dk	r"|jt|��n�d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_dS(N(uNoneu
read_pkg_fileuopenunameuversionuauthoruauthor_emailu
maintainerumaintainer_emailuurlulicenseudescriptionulong_descriptionukeywordsu	platformsuclassifiersudownload_urluprovidesurequiresu	obsoletes(uselfupath((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu__init__�s&																uDistributionMetadata.__init__cs�t|���fdd�}�fdd�}�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�|_|dkr{|d�|_|d�|_|d�|_nd|_d|_d|_dS(u-Reads the metadata values from a file object.cs�|}|dkrdS|S(NuUNKNOWN(uNone(unameuvalue(umsg(u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu_read_fields
u7DistributionMetadata.read_pkg_file.<locals>._read_fieldcs&�j|d�}|gkr"dS|S(N(uget_alluNone(unameuvalues(umsg(u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
_read_listsu6DistributionMetadata.read_pkg_file.<locals>._read_listumetadata-versionunameuversionusummaryuauthoruauthor-emailu	home-pageulicenseudownload-urludescriptionukeywordsu,uplatformu
classifieru1.1urequiresuprovidesu	obsoletesN(umessage_from_fileunameuversionudescriptionuauthoruNoneu
maintaineruauthor_emailumaintainer_emailuurlulicenseudownload_urlulong_descriptionusplitukeywordsu	platformsuclassifiersurequiresuprovidesu	obsoletes(uselfufileu_read_fieldu
_read_listumetadata_version((umsgu3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
read_pkg_files:
					u"DistributionMetadata.read_pkg_filec	Cs>ttjj|d�ddd��}|j|�WdQXdS(u7Write the PKG-INFO file into the release tree.
        uPKG-INFOuwuencodinguUTF-8N(uopenuosupathujoinuwrite_pkg_file(uselfubase_dirupkg_info((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuwrite_pkg_info6su#DistributionMetadata.write_pkg_infocCs�d}|js3|js3|js3|js3|jr<d}n|jd|�|jd|j��|jd|j��|jd|j��|jd|j	��|jd|j
��|jd	|j��|jd
|j��|jr|jd|j�nt
|j��}|jd|�d
j|j��}|r`|jd|�n|j|d|j��|j|d|j��|j|d|j��|j|d|j��|j|d|j��dS(u9Write the PKG-INFO format data to a file object.
        u1.0u1.1uMetadata-Version: %s
u	Name: %s
uVersion: %s
uSummary: %s
uHome-page: %s
uAuthor: %s
uAuthor-email: %s
uLicense: %s
uDownload-URL: %s
uDescription: %s
u,u
Keywords: %s
uPlatformu
ClassifieruRequiresuProvidesu	ObsoletesN(uprovidesurequiresu	obsoletesuclassifiersudownload_urluwriteuget_nameuget_versionuget_descriptionuget_urluget_contactuget_contact_emailuget_licenseu
rfc822_escapeuget_long_descriptionujoinuget_keywordsu_write_listu
get_platformsuget_classifiersuget_requiresuget_providesu
get_obsoletes(uselfufileuversionu	long_descukeywords((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuwrite_pkg_file=s0		u#DistributionMetadata.write_pkg_filecCs,x%|D]}|jd||f�qWdS(Nu%s: %s
(uwrite(uselfufileunameuvaluesuvalue((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu_write_list_s
u DistributionMetadata._write_listcCs
|jpdS(NuUNKNOWN(uname(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_nameesuDistributionMetadata.get_namecCs
|jpdS(Nu0.0.0(uversion(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_versionhsu DistributionMetadata.get_versioncCsd|j�|j�fS(Nu%s-%s(uget_nameuget_version(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_fullnameksu!DistributionMetadata.get_fullnamecCs
|jpdS(NuUNKNOWN(uauthor(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
get_authornsuDistributionMetadata.get_authorcCs
|jpdS(NuUNKNOWN(uauthor_email(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_author_emailqsu%DistributionMetadata.get_author_emailcCs
|jpdS(NuUNKNOWN(u
maintainer(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_maintainertsu#DistributionMetadata.get_maintainercCs
|jpdS(NuUNKNOWN(umaintainer_email(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_maintainer_emailwsu)DistributionMetadata.get_maintainer_emailcCs|jp|jpdS(NuUNKNOWN(u
maintaineruauthor(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_contactzsu DistributionMetadata.get_contactcCs|jp|jpdS(NuUNKNOWN(umaintainer_emailuauthor_email(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_contact_email}su&DistributionMetadata.get_contact_emailcCs
|jpdS(NuUNKNOWN(uurl(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_url�suDistributionMetadata.get_urlcCs
|jpdS(NuUNKNOWN(ulicense(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_license�su DistributionMetadata.get_licensecCs
|jpdS(NuUNKNOWN(udescription(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_description�su$DistributionMetadata.get_descriptioncCs
|jpdS(NuUNKNOWN(ulong_description(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_long_description�su)DistributionMetadata.get_long_descriptioncCs
|jpgS(N(ukeywords(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_keywords�su!DistributionMetadata.get_keywordscCs|jpdgS(NuUNKNOWN(u	platforms(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
get_platforms�su"DistributionMetadata.get_platformscCs
|jpgS(N(uclassifiers(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_classifiers�su$DistributionMetadata.get_classifierscCs
|jpdS(NuUNKNOWN(udownload_url(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_download_url�su%DistributionMetadata.get_download_urlcCs
|jpgS(N(urequires(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_requires�su!DistributionMetadata.get_requirescCs:ddl}x|D]}|jj|�qW||_dS(Ni(udistutils.versionpredicateuversionpredicateuVersionPredicateurequires(uselfuvalueu	distutilsuv((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuset_requires�s
u!DistributionMetadata.set_requirescCs
|jpgS(N(uprovides(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuget_provides�su!DistributionMetadata.get_providescCsMdd�|D�}x*|D]"}ddl}|jj|�qW||_dS(NcSsg|]}|j��qS((ustrip(u.0uv((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
<listcomp>�s	u5DistributionMetadata.set_provides.<locals>.<listcomp>i(udistutils.versionpredicateuversionpredicateusplit_provisionuprovides(uselfuvalueuvu	distutils((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuset_provides�s

u!DistributionMetadata.set_providescCs
|jpgS(N(u	obsoletes(uself((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
get_obsoletes�su"DistributionMetadata.get_obsoletescCs:ddl}x|D]}|jj|�qW||_dS(Ni(udistutils.versionpredicateuversionpredicateuVersionPredicateu	obsoletes(uselfuvalueu	distutilsuv((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu
set_obsoletes�s
u"DistributionMetadata.set_obsoletesN(unameuversionuauthoruauthor_emailu
maintainerumaintainer_emailuurlulicenseudescriptionulong_descriptionukeywordsu	platformsufullnameucontactu
contact_emailulicenseuclassifiersudownload_urluprovidesurequiresu	obsoletes(#u__name__u
__module__u__qualname__u__doc__u_METHOD_BASENAMESuNoneu__init__u
read_pkg_fileuwrite_pkg_infouwrite_pkg_fileu_write_listuget_nameuget_versionuget_fullnameu
get_authoruget_author_emailuget_maintaineruget_maintainer_emailuget_contactuget_contact_emailuget_urluget_licenseuget_licenceuget_descriptionuget_long_descriptionuget_keywordsu
get_platformsuget_classifiersuget_download_urluget_requiresuset_requiresuget_providesuset_providesu
get_obsoletesu
set_obsoletes(u
__locals__((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyuDistributionMetadata�sJ4"uDistributionMetadatacCs2g}x%|D]}|j|dd��q
W|S(uConvert a 4-tuple 'help_options' list as found in various command
    classes to the 3-tuple form required by FancyGetopt.
    ii(uappend(uoptionsunew_optionsu
help_tuple((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyufix_help_options�s
ufix_help_options(u__doc__usysuosureuemailumessage_from_fileuwarningsuImportErroruNoneudistutils.errorsudistutils.fancy_getoptuFancyGetoptutranslate_longoptudistutils.utilu
check_environu	strtoboolu
rfc822_escapeu	distutilsulogudistutils.debuguDEBUGucompileu
command_reuDistributionuDistributionMetadataufix_help_options(((u3/opt/alt/python33/lib64/python3.3/distutils/dist.pyu<module>s$$

�����