ok

Mini Shell

Direktori : /opt/alt/python33/lib/python3.3/site-packages/setuptools/command/
Upload File :
Current File : //opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyo

�
�/{Yc@s�ddlZddlZddlZddlmZddlZddlmZddlm	Z	ddl
mZddlm
Z
dZd
d�Zdefd
��YZd
d�Zedejdej��e
jgZdefd��YZdS(i����N(tglob(tsdist(tconvert_path(tlog(t	svn_utilstREADMEs
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/python33/lib/python3.3/site-packages/setuptools/command/sdist.pytwalk_revctrlst	re_findercBs)eZdd�Zd�Zdd�ZRS(cCs%||_||_t|�|_dS(N(tpatterntpostprocRtpath(tselfRRR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt__init__s		ccs�t|d�}z|j�}Wd|j�XxU|jj|�D]A}|jd�}|jrp|j|�}ntj||�Vq@WdS(NtrUi(	topentreadtcloseRtfinditertgroupRRtjoinpath(RR
tfilenametftdatatmatchR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt_finders	Rccs�tj||j�}tjj|�r�xh|j||�D]Q}tjj|�rZ|Vq:tjj|�r:x||�D]}|VqyWq:q:WndS(N(RRRtostisfileRtisdir(RR
RR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt__call__+sN(t__name__t
__module__tNoneRRR#(((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyRs	
ccs1x*tD]"}x||�D]}|VqWqWdS(sPrimary svn_cvs entry pointN(tfinders(R
tfinderR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt_default_revctrl7s
sCVS/Entriess
^\w?/([^/]+)/RcBs�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_filesRR(trun_commandtget_finalized_commandtfilelisttappendR RtjoinR,tcheck_readmetget_sub_commandstdistutils.commandtcommandt__all__tcheck_metadatatmake_distributiontgetattrtdistributiont
archive_files(Rtei_cmdtcmd_namet	distutilsR.tfileR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pytrunUs 
"


cCsCytj|�Wn+tj�djjjdj��nXdS(Nittemplate(t_sdistt
read_templatetsystexc_infottb_nextttb_frametf_localsR(R((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt__read_template_hackns
!iiiiiicCsot|jjg}x�|D]�}t|t�r�|}d}x:|D]2}tjj|�rAd}|jj	|�PqAqAW|s�|j
ddj|��q�qtjj|�r�|jj	|�q|j
d|�qWddg}xH|D]@}tt
tjjt|���}|r�|jj|�q�q�W|jj�r�|jd�}|jj|j��|jjs�xR|jD]D\}	}
}	}|jjg|D]}tjj|
|�^q��qxWq�n|jj�r�|jd	�}
|jj|
j��n|jj�r4|jd
�}|jj|j��n|jj�rk|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
isinstancettupleR RtexistsR1R2twarnR3tlisttfilterR!Rtextendthas_pure_modulesR0tget_source_filestinclude_package_datat
data_filesthas_ext_modulesthas_c_librariesthas_scripts(Rt	standardstfntaltstgot_ittoptionalRtfilesRLt_tsrc_dirt	filenamesRRMRNRO((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pytadd_defaults�sL

	
!0cCsEx>tD]}tjj|�rdSqW|jddjt��dS(Ns,standard file not found: should have one of s, (RPR RRTRUR3(RR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyR4�s

cCs�tj|||�tjj|d�}ttd�ritjj|�ritj|�|jd|�n|j	d�j
|�dS(Ns	setup.cfgtlinkR,(RDtmake_release_treeR RR3thasattrRTtunlinkt	copy_fileR0tsave_version_info(Rtbase_dirRetdest((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyRk�s!
cCsYtjj|j�stSt|jd�}z|j�}Wd|j�X|dj�kS(NtrbUs+# file GENERATED by distutils, do NOT edit
(	R RR!tmanifesttFalseRtreadlineRtencode(Rtfpt
first_line((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt_manifest_is_not_generated�scCs�tjd|j�t|jd�}x�|D]�}tjdkry|jd�}Wqtk
r{tjd|�q,qXn|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'RrisUTF-8s"%r not UTF-8 decodable -- skippingt#N(i(RtinfoRsRRFtversion_infotdecodetUnicodeDecodeErrorRUtstript
startswithR1R2R(RRstline((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt
read_manifest�s


N(sformats=Ns6formats for source distribution (comma-separated list)(s	dist-dir=R+sFdirectory to put the source distribution archive(s) in [default: dist](iii(ii(iii(ii(iii(R$R%t__doc__R&tuser_optionstnegative_optRBt_sdist__read_template_hackRFR|thas_leaky_handleRERiR4RkRyR�(((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyREs*					5			
	(Rs
README.rsts
README.txt(R treRFRRtdistutils.command.sdistRRDtdistutils.utilRR@Rt
setuptoolsRRPR
tobjectRR)tcompiletMt
svn_finderR'(((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/command/sdist.pyt<module>s 

Zerion Mini Shell 1.0