ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyo

�
0��`c@s�ddlmZddlmZddljjZddlZddlZddl	Z	ddl
mZddlm
Z
ddlZd
ZeZd	d
�Zdejfd��YZdS(i����(tglob(tlogN(tsix(tcs_path_existstREADMEs
README.rsts
README.txttccs@x9tjd�D](}x|j�|�D]}|Vq)WqWdS(s%Find all files under revision controlssetuptools.file_findersN(t
pkg_resourcestiter_entry_pointstload(tdirnameteptitem((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pytwalk_revctrlstsdistcBs�eZdZdddddfdgZiZd
�Zd�Zej	dkp�dej	koidknp�dej	ko�dknZ
e
r�eZnd�Zd�Z
d�Zd�Zd�ZRS(s=Smart sdist that finds anything supported by revision controlsformats=s6formats for source distribution (comma-separated list)s	keep-temptks1keep the distribution tree around after creating sarchive file(s)s	dist-dir=tdsFdirectory to put the source distribution archive(s) in [default: dist]cCs|jd�|jd�}|j|_|jjtjj|jd��|j�x!|j	�D]}|j|�qaWddl
}d|jjkr�|j
�n|j�t|jdg�}x<|jD]1}dd|f}||kr�|j|�q�q�WdS(Ntegg_infosSOURCES.txti����tcheckt
dist_filesR
R(trun_commandtget_finalized_commandtfilelisttappendtostpathtjoinRtcheck_readmetget_sub_commandstdistutils.commandtcommandt__all__tcheck_metadatatmake_distributiontgetattrtdistributiont
archive_files(tselftei_cmdtcmd_namet	distutilsRtfiletdata((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pytrun)s 
"


cCsQytjj|�Wn6tj�\}}}|jjjdj��nXdS(Nttemplate(	torigR
t
read_templatetsystexc_infottb_nextttb_frametf_localstclose(R$t_ttb((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyt__read_template_hackCsiiiiiicCs]t|jjg}x�|D]�}t|t�r�|}d}x4|D],}t|�rAd}|jj|�PqAqAW|s�|jddj	|��q�qt|�r�|jj|�q|jd|�qWddg}xB|D]:}t
ttt|���}|r�|jj
|�q�q�W|jj�r�|jd�}|jj
|j��|jjs�xR|jD]D\}	}
}	}|jj
g|D]}tjj	|
|�^q��qfWq�n|jj�r�|jd	�}
|jj
|
j��n|jj�r"|jd
�}|jj
|j��n|jj�rY|jd�}|jj
|j��ndS(Niis,standard file not found: should have one of s, sstandard file '%s' not founds
test/test*.pys	setup.cfgtbuild_pyt	build_extt
build_clibt
build_scripts(tREADMESR"tscript_namet
isinstancettupleRRRtwarnRtlisttfilterRtextendthas_pure_modulesRtget_source_filestinclude_package_datat
data_filesRRthas_ext_modulesthas_c_librariesthas_scripts(R$t	standardstfntaltstgot_ittoptionaltpatterntfilesR7R4tsrc_dirt	filenamestfilenameR8R9R:((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pytadd_defaultsZsL

	
0cCsEx>tD]}tjj|�rdSqW|jddjt��dS(Ns,standard file not found: should have one of s, (R;RRtexistsR?R(R$tf((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyR�s
cCs�tjj|||�tjj|d�}ttd�rltjj|�rltj|�|j	d|�n|j
d�j|�dS(Ns	setup.cfgtlinkR(R,R
tmake_release_treeRRRthasattrRUtunlinkt	copy_fileRtsave_version_info(R$tbase_dirRPtdest((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyRX�s!
cCsStjj|j�stStj|jd��}|j�}WdQX|dj�kS(Ntrbs+# file GENERATED by distutils, do NOT edit
(	RRtisfiletmanifesttFalsetiotopentreadlinetencode(R$tfpt
first_line((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyt_manifest_is_not_generated�scCs�tjd|j�t|jd�}x�|D]�}tjryy|jd�}Wqytk
rutjd|�q,qyXn|j	�}|j
d�s,|r�q,n|jj|�q,W|j
�dS(s�Read the manifest file (named by 'self.manifest') and use it to
        fill in 'self.filelist', the list of files to include in the source
        distribution.
        sreading manifest file '%s'trbUsUTF-8s"%r not UTF-8 decodable -- skippingt#N(RtinfoRaRdRtPY3tdecodetUnicodeDecodeErrorR?tstript
startswithRRR3(R$Ratline((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyt
read_manifest�s
	

N(sformats=Ns6formats for source distribution (comma-separated list)(s	dist-dir=RsFdirectory to put the source distribution archive(s) in [default: dist](iii(ii(iii(ii(iii(t__name__t
__module__t__doc__tNonetuser_optionstnegative_optR*t_sdist__read_template_hackR.tversion_infothas_leaky_handleR-RTRRXRiRs(((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyR
s*					5	
	
	
(Rs
README.rsts
README.txt(RR'Rtdistutils.command.sdistRR
R,RR.Rctsetuptools.externRtsetuptools.utilsRRR;R@t_default_revctrlR(((sI/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/sdist.pyt<module>s

Zerion Mini Shell 1.0