• File: sdist.pyo
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/lib/python2.7/site-packages/setuptools/command/sdist.pyo
  • Date Modified: 05/07/2020 3:04 PM
  • File size: 7.76 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

#^c@sddlmZddljjZddlZddlZddlZddl	Z	ddl
mZddlm
Z
ddlZeZddZde
ejfd	YZdS(
i(tlogN(tsixi(tsdist_add_defaultstccs@x9tjdD](}x|j|D]}|Vq)WqWdS(s%Find all files under revision controlssetuptools.file_findersN(t
pkg_resourcestiter_entry_pointstload(tdirnameteptitem((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pytwalk_revctrlstsdistcBs/eZdZd"ddddfd#gZiZd
ddd
gZedeDZdZ	dZ
dZdZe
ejdZdZejd$kpd%ejkod&knpd'ejkod(knZereZndZdZdZdZdZd 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]Rs.rsts.txts.mdccs|]}dj|VqdS(s	README{0}N(tformat(t.0text((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pys	<genexpr>)scCs|jd|jd}|j|_|jjtjj|jd|jx!|j	D]}|j|qaWddl
}d|jjkr|j
n|jt|jdg}x<|jD]1}dd|f}||kr|j|qqWdS(Ntegg_infosSOURCES.txtitcheckt
dist_filesRR(trun_commandtget_finalized_commandtfilelisttappendtostpathtjoinRtcheck_readmetget_sub_commandstdistutils.commandtcommandt__all__tcheck_metadatatmake_distributiontgetattrtdistributiont
archive_files(tselftei_cmdtcmd_namet	distutilsRtfiletdata((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pytrun+s 
"


cCstjj||jdS(N(torigRtinitialize_optionst_default_to_gztar(R%((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyR-EscCs#tjdkrdSdg|_dS(Niiitbetaitgztar(iiiR/i(tsystversion_infotformats(R%((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyR.JscCs'|jtjj|WdQXdS(s%
        Workaround for #516
        N(t_remove_os_linkR,RR!(R%((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyR!Ps
ccssdddY}ttd|}y
t`Wntk
rBnXz	dVWd||k	rnttd|nXdS(sG
        In a context, remove and restore os.link if it exists
        tNoValuecBseZRS((t__name__t
__module__(((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyR5^stlinkN((R"RR8t	Exceptiontsetattr(R5torig_val((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyR4Ws

	cCs[ytjj|Wn@tk
rVtj\}}}|jjjdj	nXdS(Nttemplate(
R,Rt
read_templateR9R1texc_infottb_nextttb_frametf_localstclose(R%t_ttb((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyt__read_template_hackls
iiiiiicCs|jjr|jd}|jj|j|jjsxR|jD]D\}}}}|jjg|D]}tj	j
||^qlqJWqndS(sgetting python filestbuild_pyN(R#thas_pure_modulesRRtextendtget_source_filestinclude_package_datat
data_filesRRR(R%RFRCtsrc_dirt	filenamestfilename((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyt_add_defaults_pythonscCsOy*tjrtj|n
tjWntk
rJtjdnXdS(Ns&data_files contains unexpected objects(RtPY2Rt_add_defaults_data_filestsupert	TypeErrorRtwarn(R%((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyRQs	
cCsKxD|jD]}tjj|r
dSq
W|jddj|jdS(Ns,standard file not found: should have one of s, (tREADMESRRtexistsRTR(R%tf((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyRscCstjj|||tjj|d}ttdrltjj|rltj||j	d|n|j
dj|dS(Ns	setup.cfgR8R(R,Rtmake_release_treeRRRthasattrRVtunlinkt	copy_fileRtsave_version_info(R%tbase_dirtfilestdest((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyRXs!
cCsStjj|jstStj|jd}|j}WdQX|djkS(Ntrbs+# file GENERATED by distutils, do NOT edit
(	RRtisfiletmanifesttFalsetiotopentreadlinetencode(R%tfpt
first_line((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyt_manifest_is_not_generatedscCstjd|jt|jd}x|D]}tjryy|jd}Wqytk
rutjd|q,qyXn|j	}|j
ds,|rq,n|jj|q,W|j
dS(sRead 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'R`sUTF-8s"%r not UTF-8 decodable -- skippingt#N(RtinfoRbReRtPY3tdecodetUnicodeDecodeErrorRTtstript
startswithRRRB(R%Rbtline((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyt
read_manifests
	

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(R6R7t__doc__tNonetuser_optionstnegative_opttREADME_EXTENSIONSttupleRUR+R-R.R!tstaticmethodt
contextlibtcontextmanagerR4t_sdist__read_template_hackR1R2thas_leaky_handleR=RORQRRXRjRs(((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyRs:											
	
	
(R(Rtdistutils.command.sdistRRR,RR1RdR{tsetuptools.externRt
py36compatRRtlistt_default_revctrlR
(((s</usr/lib/python2.7/site-packages/setuptools/command/sdist.pyt<module>s