Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
w‘EYc@s?dZddlmZddlmZddlmZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlmZddlmZddlmZdd	lmZdd
lmZddlmZddlmZdd
lmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%ddl&j'Z'ddl(m)Z)yddl*m+Z+Wne,k
r’nXdefd„ƒYZ-defd„ƒYZdefd„ƒYZ.d„Z/d„Z0d„Z1d„Z2d„Z3d„Z4d„Z5d„Z6e7d„Z8d„Z9d „Z:dS(!sUsetuptools.command.egg_info

Create a distribution's .egg-info directory and contentsiÿÿÿÿ(tFileList(tconvert_path(tlogN(tsix(tmap(tCommand(tsdist(twalk_revctrl(tedit_config(t	bdist_egg(tparse_requirementst	safe_namet
parse_versiontsafe_versiontyield_linest
EntryPointtiter_entry_pointstto_filename(t	packaging(t	svn_utilstegg_infocBs»eZdZdd d!d"d#d$gZddgZidd
6dd6Zd„Zd„Zd„Ze	d„Z
d„Zd„Zd„Z
d„Zd„Zed„ƒZd„Zd„ZRS(%s+create a distribution's .egg-info directorys	egg-base=tesLdirectory containing .egg-info directories (default: top of the source tree)stag-svn-revisiontrs,Add subversion revision ID to version numberstag-datetds0Add date stamp (e.g. 20050528) to version numbers
tag-build=tbs-Specify explicit tag to add to version numbersno-svn-revisiontRs*Don't add subversion revision ID [default]sno-datetDs"Don't include date stamp [default]cCsUd|_d|_d|_d|_d|_d|_d|_t|_	d|_
dS(Ni(tNonetegg_nametegg_versiontegg_baseRt	tag_buildttag_svn_revisionttag_datetFalsetbroken_egg_infotvtags(tself((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytinitialize_options:s								cCsYttdtƒ}|ƒ}|jƒ|d<d|d<d|d<t|td|ƒƒdS(sÅ
        Materialize the values of svn_revision and date into the
        build tag. Install these keys in a deterministic order
        to avoid arbitrary reordering on subsequent builds.
        tOrderedDictRiR!R RN(tgetattrtcollectionstdictttagsR(R%tfilenametodictR((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytsave_version_infoEs	

cCsçt|jjƒƒ|_|jƒ|_|jƒ|_t|jƒ}yKt	|t
jjƒ}|ridnd}t
t||j|jfƒƒWn3tk
rÅtjjd|j|jfƒ‚nX|jdkr|jj}|pêijdtjƒ|_n|jdƒt|jƒd|_|jtjkrXtjj|j|jƒ|_nd|jkrt|jƒn|j|jj_|jj }|dk	rã|j!|jj"ƒkrã|j|_#t|jƒ|_$d|j_ ndS(Ns%s==%ss%s===%ss2Invalid distribution name or version syntax: %s-%stRs	.egg-infot-(%Rtdistributiontget_nameRR+R$ttagged_versionRRt
isinstanceRtversiontVersiontlistR
t
ValueErrort	distutilsterrorstDistutilsOptionErrorRRtpackage_dirtgettostcurdirtensure_dirnameRRtpathtjointcheck_broken_egg_infotmetadatat
_patched_disttkeytlowert_versiont_parsed_version(R%tparsed_versiont
is_versiontspectdirstpd((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytfinalize_optionsUs8!
	!
!
$cCsl|r|j|||ƒnLtjj|ƒrh|dkrX|rXtjd||ƒdS|j|ƒndS(s¹Write `data` to `filename` or delete if empty

        If `data` is non-empty, this routine is the same as ``write_file()``.
        If `data` is empty but not ``None``, this is the same as calling
        ``delete_file(filename)`.  If `data` is ``None``, then this is a no-op
        unless `filename` exists, in which case a warning is issued about the
        orphaned file (if `force` is false), or deleted (if `force` is true).
        s$%s not set in setup(), but %s existsN(t
write_fileR>RAtexistsRRtwarntdelete_file(R%twhatR,tdatatforce((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_or_delete_file„s	
cCsdtjd||ƒtjr.|jdƒ}n|js`t|dƒ}|j|ƒ|jƒndS(sªWrite `data` to `filename` (if not a dry run) after announcing it

        `what` is used in a log message to identify what is being written
        to the file.
        swriting %s to %ssutf-8twbN(	RtinfoRtPY3tencodetdry_runtopentwritetclose(R%RTR,RUtf((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRP˜s		
cCs-tjd|ƒ|js)tj|ƒndS(s8Delete `filename` (if not a dry run) after announcing itsdeleting %sN(RRYR\R>tunlink(R%R,((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRS¦s	cCsE|jjƒ}|jr4|j|jƒr4t|ƒSt||jƒS(N(R1tget_versionR$tendswithR
(R%R5((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR3¬s
cCs¿|j|jƒ|jj}xXtdƒD]J}|jd|ƒ|jƒ}|||jtj	j
|j|jƒƒq)Wtj	j
|jdƒ}tj	j|ƒr±|j|ƒn|j
ƒdS(Nsegg_info.writerst	installersnative_libs.txt(tmkpathRR1tfetch_build_eggRtrequiretresolvetnameR>RARBRQRStfind_sources(R%Rdteptwritertnl((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytrun´s,cCsbd}|jr||j7}n|jr?|d|jƒ7}n|jr^|tjdƒ7}n|S(NR/s-r%ss-%Y%m%d(RR tget_svn_revisionR!ttimetstrftime(R%R5((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR+Ãs			cCs2dtƒkrdSttjjtjƒjƒƒS(NRt0(tglobalststrRtSvnInfotloadR>R?tget_revision(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRoÍscCsJtjj|jdƒ}t|jƒ}||_|jƒ|j|_dS(s"Generate SOURCES.txt manifest filesSOURCES.txtN(	R>RARBRtmanifest_makerR1tmanifestRntfilelist(R%tmanifest_filenametmm((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRjÓs
	
cCsŽ|jd}|jtjkr:tjj|j|ƒ}ntjj|ƒrŠtjddddd||j	ƒ|j	|_
||_	ndS(Ns	.egg-infoR0iNs¦
Note: Your current .egg-info directory has a '-' in its name;
this will not work correctly with "setup.py develop".

Please rename %s to %s to correct this problem.
(RRR>R?RARBRQRRRRR#(R%tbei((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRCÛs

(s	egg-base=RsLdirectory containing .egg-info directories (default: top of the source tree)(stag-svn-revisionRs,Add subversion revision ID to version number(stag-dateRs0Add date stamp (e.g. 20050528) to version number(s
tag-build=Rs-Specify explicit tag to add to version number(sno-svn-revisionRs*Don't add subversion revision ID [default](sno-dateRs"Don't include date stamp [default](t__name__t
__module__tdescriptiontuser_optionstboolean_optionstnegative_optR&R.ROR"RWRPRSR3RnR+tstaticmethodRoRjRC(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR's0	

			/					
	RcBs2eZdZd„Zd„Zd„Zd„ZRS(s@File list that accepts only existing, platform-independent pathscCsN|jdƒr|d }nt|ƒ}|j|ƒrJ|jj|ƒndS(Ns
iÿÿÿÿ(RcRt
_safe_pathtfilestappend(R%titemRA((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR‡îs

cCs |jjt|j|ƒƒdS(N(R†textendtfilterR…(R%tpaths((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR‰öscCs"tt|j|jƒƒ|_dS(sÜ
        Replace self.files with only safe paths

        Because some owners of FileList manipulate the underlying
        ``files`` attribute directly, this method must be called to
        repair those paths.
        N(R7RŠR…R†(R%((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt_repairùscCsÈd}tj|ƒ}|dkr6tjd|ƒtStj|dƒ}|dkrktj||dƒtSy,tjj	|ƒs’tjj	|ƒr–t
SWn*tk
rÃtj||tj
ƒƒnXdS(Ns!'%s' not %s encodable -- skippings''%s' in unexpected encoding -- skippingsutf-8(t
unicode_utilstfilesys_decodeRRRRR"t
try_encodeR>RARQtTruetUnicodeEncodeErrortsystgetfilesystemencoding(R%RAtenc_warntu_patht	utf8_path((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR…s$
(R~Rt__doc__R‡R‰RŒR…(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRës
			
RxcBs_eZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„ZRS(
sMANIFEST.incCs(d|_d|_d|_d|_dS(Ni(tuse_defaultstprunet
manifest_onlytforce_manifest(R%((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR&s			cCsdS(N((R%((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRO$scCs™tƒ|_tjj|jƒs.|jƒn|jjƒ|jƒtjj|j	ƒrg|j
ƒn|jƒ|jjƒ|jj
ƒ|jƒdS(N(RRzR>RARQRytwrite_manifesttfindalltadd_defaultsttemplatet
read_templatetprune_file_listtsorttremove_duplicates(R%((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRn's






cCs"tj|ƒ}|jtjdƒS(Nt/(RRŽtreplaceR>tsep(R%RA((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt_manifest_normalize4scCsb|jjƒg|jjD]}|j|ƒ^q}d|j}|jt|j|f|ƒdS(so
        Write the file list in 'self.filelist' to the manifest file
        named by 'self.manifest'.
        swriting manifest file '%s'N(RzRŒR†R§RytexecuteRP(R%R`R†tmsg((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRœ8s
(
cCs&|jdƒs"tj||ƒndS(Nsstandard file not found:(t
startswithRRR(R%R©((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRRDscCs¹tj|ƒ|jj|jƒ|jj|jƒttƒƒ}|r[|jj|ƒn"t	j
j|jƒr}|jƒn|j
dƒ}|jd|ƒ|jjdd|jƒdS(NRtcmdt*tprefix(RRžRzR‡RŸRyR7RR‰R>RARQt
read_manifesttget_finalized_commandt
_add_egg_infotinclude_patternR(R%trcfilestei_cmd((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRžHs

csXˆjtjkrdStjjˆjƒ}‡fd†|Dƒ}|jjj|ƒdS(sˆ
        Add paths for egg-info files for an external egg-base.

        The egg-info files are written to egg-base. If egg-base is
        outside the current working directory, this method
        searchs the egg-base directory for files to include
        in the manifest. Uses distutils.filelist.findall (which is
        really the version monkeypatched in by setuptools/__init__.py)
        to perform the search.

        Since findall records relative paths, prefix the returned
        paths with cmd.egg_base, so add_default's include_pattern call
        (which is looking for the absolute cmd.egg_info) will match
        them.
        Nc3s'|]}tjjˆj|ƒVqdS(N(R>RARBR(t.0RA(R«(sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pys	<genexpr>js(RR>R?R9RzRtallfilesR‰(R%R«t
discoveredtresolved((R«sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR°Us
cCs…|jdƒ}|jjƒ}|jjdd|jƒ|jjdd|ƒtjt	j
ƒ}|jjd|d|ddƒdS(NtbuildR­s(^|s)(RCS|CVS|\.svn)tis_regexi(R¯R1tget_fullnameRztexclude_patternRt
build_basetretescapeR>R¦(R%R¸tbase_dirR¦((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR¡ms(R~RRŸR&RORnR§RœRRRžR°R¡(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRxs			
				
	cCsGdj|ƒ}|jdƒ}t|dƒ}|j|ƒWdQXdS(s{Create a file with the specified name and write 'contents' (a
    sequence of strings without line terminators) to it.
    s
sutf-8RXN(RBR[R]R^(R,tcontentsR`((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRPwscCs«tjd|ƒ|js§|jj}|j|j|_}|j|j|_}z|j	|j
ƒWd|||_|_Xt|jddƒ}t
j|j
|ƒndS(Ns
writing %stzip_safe(RRYR\R1RDRR5RRitwrite_pkg_infoRR(RR	twrite_safety_flag(R«tbasenameR,RDtoldvertoldnametsafe((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyR„s	cCs&tjj|ƒr"tjdƒndS(NssWARNING: 'depends.txt' is not used by setuptools 0.6!
Use the install_requires/extras_require setup() args instead.(R>RARQRRR(R«RÄR,((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytwarn_depends_obsolete–scCs;t|pdƒ}d„}t||ƒ}|j|ƒdS(NcSs|dS(Ns
((tline((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt<lambda> s((RRt
writelines(tstreamtreqstlinest	append_cr((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt_write_requirementsžs	cCs’|j}tjƒ}t||jƒ|jp1i}x>t|ƒD]0}|jdjt	ƒƒt|||ƒqAW|j
d||jƒƒdS(Ns
[{extra}]
trequirements(R1RtStringIORÐtinstall_requirestextras_requiretsortedR^tformattvarsRWtgetvalue(R«RÄR,tdistRURÔtextra((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_requirements¥s	cCs9tƒ}t||jjƒ|jd||jƒƒdS(Nssetup-requirements(RÒRÐR1tsetup_requiresRWRØ(R«RÄR,RU((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_setup_requirements°s	cCsetjg|jjƒD]}|jddƒd^qƒ}|jd|djt|ƒƒdƒdS(Nt.iistop-level namess
(R*tfromkeysR1titer_distribution_namestsplitRPRBRÕ(R«RÄR,tktpkgs((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_toplevel_names¶s2cCst|||tƒdS(N(t	write_argR(R«RÄR,((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt
overwrite_argÀscCsgtjj|ƒd}t|j|dƒ}|dk	rMdj|ƒd}n|j||||ƒdS(Nis
(R>RAtsplitextR(R1RRBRW(R«RÄR,RVtargnametvalue((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyRåÄs
cCsö|jj}t|tjƒs*|dkr3|}n©|dk	rÜg}x‚t|jƒƒD]n\}}t|tjƒs¯tj	||ƒ}dj
ttt|j
ƒƒƒƒ}n|jd||fƒqXWdj
|ƒ}n|jd||tƒdS(Ns
s	[%s]
%s

R/sentry points(R1tentry_pointsR4Rtstring_typesRRÕtitemsRtparse_groupRBRRttvaluesR‡RWR(R«RÄR,RkRUtsectionRÀ((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt
write_entriesÌs	'cCs}tjdtƒtjjdƒrytjdƒC}x9|D]1}tj	d|ƒ}|r;t
|jdƒƒSq;WWdQXndS(sd
    Get a -r### off of PKG-INFO Version in case this is an sdist of
    a subversion revision.
    s$get_pkg_info_revision is deprecated.sPKG-INFOsVersion:.*-r(\d+)\s*$iNi(twarningsRRtDeprecationWarningR>RARQtioR]R½tmatchtinttgroup(R`RÉRô((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pytget_pkg_info_revisionÝs
 (;R—tdistutils.filelistRt	_FileListtdistutils.utilRR9Rtdistutils.errorsR>R½R’RóRñRpR)tsetuptools.externRtsetuptools.extern.six.movesRt
setuptoolsRtsetuptools.command.sdistRRtsetuptools.command.setoptRtsetuptools.commandR	t
pkg_resourcesR
RRR
RRRRtsetuptools.unicode_utilsRtpkg_resources.externRtsetuptools_svnRtImportErrorRRxRPRÂRÈRÐRÛRÝRäRæR"RåRðR÷(((sP/home/tvault/.virtenv/lib/python2.7/site-packages/setuptools/command/egg_info.pyt<module>sP:
Ä0\