Your IP : 216.73.216.213


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

�
��f�Ac@s�dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
dd�Zdd�Ze�dS(u�
Freeze a Python script into a binary.

usage: freeze [options...] script [module]...

Options:
-p prefix:    This is the prefix used when you ran ``make install''
              in the Python build directory.
              (If you never ran this, freeze won't work.)
              The default is whatever sys.prefix evaluates to.
              It can also be the top directory of the Python source
              tree; then -P must point to the build tree.

-P exec_prefix: Like -p but this is the 'exec_prefix', used to
                install objects etc.  The default is whatever sys.exec_prefix
                evaluates to, or the -p argument if given.
                If -p points to the Python source tree, -P must point
                to the build tree, if different.

-e extension: A directory containing additional .o files that
              may be used to resolve modules.  This directory
              should also have a Setup file describing the .o files.
              On Windows, the name of a .INI file describing one
              or more extensions is passed.
              More than one -e option may be given.

-o dir:       Directory where the output files are created; default '.'.

-m:           Additional arguments are module names instead of filenames.

-a package=dir: Additional directories to be added to the package's
                __path__.  Used to simulate directories added by the
                package at runtime (eg, by OpenGL and win32com).
                More than one -a option may be given for each package.

-l file:      Pass the file to the linker (windows only)

-d:           Debugging mode for the module finder.

-q:           Make the module finder totally quiet.

-h:           Print this help message.

-x module     Exclude the specified module. It will still be imported
              by the frozen binary if it exists on the host system.

-X module     Like -x, except the module can never be imported by
              the frozen binary.

-E:           Freeze will fail if any modules can't be found (that
              were not excluded using -x or -X).

-i filename:  Include a file with additional command line options.  Used
              to prevent command lines growing beyond the capabilities of
              the shell/OS.  All arguments specified in filename
              are read and the -i option replaced with the parsed
              params (note - quoting args in this file is NOT supported)

-s subsystem: Specify the subsystem (For Windows only.);
              'console' (default), 'windows', 'service' or 'com_dll'

-w:           Toggle Windows (NT or 95) behavior.
              (For debugging only -- on a win32 platform, win32 behavior
              is automatic.)

-r prefix=f:  Replace path prefix.
              Replace prefix with f in the source path references
              contained in the resulting binary.

Arguments:

script:       The Python script to be executed by the resulting binary.

module ...:   Additional Python modules (referenced by pathname)
              that will be included in the resulting binary.  These
              may be .py or .pyc files.  If -m is specified, these are
              module names that are search in the path instead.

NOTES:

In order to use freeze successfully, you must have built Python and
installed it ("make install").

The script should not use modules provided only as shared libraries;
if it does, the resulting binary is not self-contained.
iNcPKCs.d}d}g}g}g}tjdd�}d}d}d}tjdd�dk}	g}
d}|	r�|dddd	d
ddd
dg	}n|dd�}d}
d}d}d}d}d}x�|ttj�dkr�tj|dkr�y'ttj|d�j�j�}WnDt	k
rf}z$t
dtj|d|f�WYdd}~XnX|tj||d�<|t|�d}n|d}q�Wy)tjtjdd�d�\}}Wn<tjk
r
}zt
dt
|��WYdd}~XnXx�|D]�\}}|dkr8tt�dS|dkrQ|d}n|dkrm|j|�n|dkr�d}n|dkr�|}n|dkr�|}n|dkr�|}n|d kr�d}n|d!kr�|	}	n|d"kr|	st
d#�n|}n|d$kr0|j|�n|d%krY|j|�|j|�n|d&krnd}n|d'kr�|j|�n|d(kr�tj|jd)d��n|d*kr|jd)d�\}}|
j||f�qqWg}x*d]D]"}||kr�|j|�q�q�W|sD|r8|}qDtj}n|sVtj}ntjjtjj|d/d0��}tjdd�}|	r�d1} n|r3td2�|}!tjj|d3�}"|}#tjj|d4d5�}$tjj|d/d6�}%tjj|d�}&|	r�tjj|d7�}'q�n�tjj|d8d9|d:�}!tjj|d;d9|�}"tjj|d;d9|�}#tjj|!d5�}$tjj|!d6�}%tjj|!d�}&tjj|!d<�}'g}(g})d=|"d=|#g}*|||!|"g}+|	s#|+|}+nxT|+D]L},tjj|,�sSt
d>|,�ntjj|,�s*t
d?|,�q*q*W|	r�|(|}-n|$|&g|(}-xT|(D]L}.tjj|.�s�t
d@|.�ntjj|.�s�t
dA|.�q�q�W|	sixl|D]a},tjj|,dB�}/tjj|/�s?t
d@|/�ntjj|/�st
dA|/�qqWn|s|t
dC�nxn|D]f}0|0dkr�Pn|r�Pntjj|0�s�t
dD|0�ntjj|0�s�t
dA|0�q�q�W|d}1|dd�}2tjj|1�}3tjj|3�\}3}4|3rY|3|1krL|3}qY|3dE}n|
}5|}6|}7|r�tjj|�r�ytj|�tdF|�Wq�tjk
r�}zt
dG|t
|�f�WYdd}~Xq�Xnd}3|r�	tjj|d�}3tjj||
�}
tjj||�}tjj||�}tjj||�}|	r�	tjj|| �} q�	nd}8d}9|	r�	ddl}:y|:j|�\}8}9Wq�	t k
r�	}zt
|�WYdd}~Xq�	Xntjj!|1�},|,|d<tj"||||
�};|	rM
|dHkrM
|;j#dI�}<dJ|<_$nx|D]}<|;j%|<�qT
Wx�|2D]z}<|<dkr�
d}qr
n|r�
|<d^d�dKkr�
|;j%|<dd_�ddLg�q�
|;j%|<�qr
|;j&|<�qr
W|9r|;j'|1�n
|;j&|1�|dkr3|;j(�t�n|;j)}=|rk|;j*�}>|>rktj+dM|>�qknt,j,|3|=||8|�}-g}?g}@t-|=j.��}AxK|AD]C}<|=|<j/r�q�n|=|<j$s�|?j|<�q�|@j|<�q�Wg}Bg}C|@s|	r�|?r�|	spt0j0|@|?|�\}B}Dx||DD]/}<|<|@kr:|@j1|<�|?j|<�q:q:Wq�ddl2}E|Ej0|@||�}Cx!|CD]}<|@j1|<j3�q�Wn|@r�tj4j5dNdOj|@��n|	r�
ddl}:ddl2}E|Ej6| |C�|%tjj|
�|'tjj| �g|-}F|Ej7dP|F�}G|Cj|G�t|dQ�}Hz)|:j8|Ht9�|Ctjj|��Wd|Hj:�XdS|?j;�t|$�}It<j|dQ�}Hzt=j=|I|H|?�Wd|Hj:�X|Ij:�dRg}J|)|*}Ktjj|!dS�g}Li}Mtjj|&�rkt>j?|&�}Nx|ND]}O|N|O|M|O<qPWndOj|J�|MdT<dOj|K�|MdU<|6|5g|-|(|B|LdVdWdXg}-t<j|dQ�}Hzt8j8|H|M|-|7�Wd|Hj:�X|rtdY|dZdO�td[|7�n
td\|7�dS(`NiiuiuwinudosudospathumacumacpathumacfsuMACFSuposixuos2uceufrozen.cuconfig.cua.outuMakefileuconsoleu-iu@File name '%s' specified with the -i option can not be read - %siur:a:dEe:hmo:p:P:qs:wX:x:l:ugetopt error: u-hu-du-eu-mu-ou-pu-Pu-qu-wu-su#-s subsystem option only on Windowsu-xu-Xu-Eu-lu-au=u-rusiteuwarningsuencodings.utf_8uencodings.latin_1uPythonuceval.cufrozen_extensions.cu(Using Python source directory)uIncludeuModulesuconfig.c.inufrozenmain.cuPc\frozen_dllmain.culibupython%suconfiguincludeufrozen_dllmain.cu-Iuneeded directory %s not foundu%s: not a directoryuneeded file %s not foundu%s: not a plain fileuSetupu'at least one filename argument requireduargument %s not foundu.binuCreated output directoryu%s: mkdir failed (%s)userviceuservicemanageru	dummy.pydu.*u*u"There are some missing modules: %ru$Warning: unknown modules remain: %s
u u__main__uwu$(OPT)ulibpython$(VERSION).auCFLAGSuCPPFLAGSu
$(MODLIBS)u$(LIBS)u
$(SYSLIBS)uNow run "make" inuenduto build the target:u#Now run "make" to build the target:(usiteuwarningsuencodings.utf_8uencodings.latin_1i����i����(@uNoneusysupathuplatformulenuargvuopenureadusplituIOErroruusageugetoptuerrorustruprintu__doc__uappendumodulefinderuAddPackagePathuexec_prefixuprefixuosuexistsujoinuversionuisdiruisfileubasenameusplitextumkdiruwinmakemakefileuget_custom_entry_pointu
ValueErrorudirnameuModuleFinderu
add_moduleu__file__uimport_hooku	load_fileu
run_scriptureportumodulesuany_missinguexitu
makefreezeusortedukeysu__code__ucheckextensionsuremoveucheckextensions_win32unameustderruwriteuwrite_extension_tableu
CExtensionumakemakefileulocalsucloseusortubkfileu
makeconfigu
parsesetupugetmakevars(Puprefixuexec_prefixu
extensionsuexcludeu	addn_linkupathumodargsudebuguodiruwinu
replace_pathsuerror_if_any_missingufail_importufrozen_cuconfig_cutargetumakefileu	subsystemuposuoptionsuwhyuoptsuargsumsguouaufuru	implicitsumoduleuishomeuversionuextensions_cubinlibuincldiruconfig_h_diruconfig_c_inufrozenmain_cumakefile_inufrozendllmain_cusupp_sourcesudefinesuincludesu
check_dirsudirufilesufileusetupuargu
scriptfileumodulesubaseuextu
base_frozen_cu
base_config_cubase_targetucustom_entry_pointupython_entry_is_mainuwinmakemakefileumfumodudictumissingubuiltinsuunknownumodsuaddfilesufrozen_extensionsuaddmodsucheckextensions_win32uxtrasumaindefnuoutfpuinfpucflagsucppflagsulibsusomevarsumakevarsukey((u8/opt/alt/python33/lib64/python3.3/Tools/freeze/freeze.pyumainns.',)'

					

	
	
	$	









	

0 


#


		






	
	

	

umaincCs?tjt_td|�tdtjd�tjd�dS(NuError:uUse ``%s -h'' for helpii(usysustderrustdoutuprintuargvuexit(umsg((u8/opt/alt/python33/lib64/python3.3/Tools/freeze/freeze.pyuusage�s
uusage(
u__doc__umodulefinderugetoptuosusysucheckextensionsu
makeconfigu
makefreezeumakemakefileu
parsesetupubkfileumainuusage(((u8/opt/alt/python33/lib64/python3.3/Tools/freeze/freeze.pyu<module>Ws�|