/opt/alt/python27/lib/python2.7/site-packages/setuptools/command
NameSizeModeActions
alias.py24260644editdlrm
alias.pyc31890644editdlrm
alias.pyo31890644editdlrm
bdist_egg.py171780644editdlrm
bdist_egg.pyc178660644editdlrm
bdist_egg.pyo178660644editdlrm
bdist_rpm.py15080644editdlrm
bdist_rpm.pyc19660644editdlrm
bdist_rpm.pyo19660644editdlrm
bdist_wininst.py6370644editdlrm
bdist_wininst.pyc12430644editdlrm
bdist_wininst.pyo12430644editdlrm
build_clib.py44840644editdlrm
build_clib.pyc28830644editdlrm
build_clib.pyo28830644editdlrm
build_ext.py130490644editdlrm
build_ext.pyc128440644editdlrm
build_ext.pyo128000644editdlrm
build_py.py95960644editdlrm
build_py.pyc109790644editdlrm
build_py.pyo109790644editdlrm
develop.py80240644editdlrm
develop.pyc80800644editdlrm
develop.pyo80800644editdlrm
easy_install.py859510644editdlrm
easy_install.pyc812430644editdlrm
easy_install.pyo812430644editdlrm
egg_info.py248740644editdlrm
egg_info.pyc266340644editdlrm
egg_info.pyo266340644editdlrm
install.py46830644editdlrm
install.pyc50830644editdlrm
install.pyo50830644editdlrm
install_egg_info.py22030644editdlrm
install_egg_info.pyc32890644editdlrm
install_egg_info.pyo32890644editdlrm
install_lib.py38400644editdlrm
install_lib.pyc50260644editdlrm
install_lib.pyo49800644editdlrm
install_scripts.py24390644editdlrm
install_scripts.pyc29560644editdlrm
install_scripts.pyo29560644editdlrm
launcher manifest.xml6280644editdlrm
py36compat.py49860644editdlrm
py36compat.pyc57060644editdlrm
py36compat.pyo57060644editdlrm
register.py2700644editdlrm
register.pyc7490644editdlrm
register.pyo7490644editdlrm
rotate.py21640644editdlrm
rotate.pyc31010644editdlrm
rotate.pyo31010644editdlrm
saveopts.py6580644editdlrm
saveopts.pyc11680644editdlrm
saveopts.pyo11680644editdlrm
sdist.py68440644editdlrm
sdist.pyc79320644editdlrm
sdist.pyo79320644editdlrm
setopt.py50850644editdlrm
setopt.pyc61800644editdlrm
setopt.pyo61800644editdlrm
test.py90440644editdlrm
test.pyc105100644editdlrm
test.pyo105100644editdlrm
upload.py11720644editdlrm
upload.pyc17010644editdlrm
upload.pyo17010644editdlrm
upload_docs.py73110644editdlrm
upload_docs.pyc79850644editdlrm
upload_docs.pyo79560644editdlrm
__init__.py5770644editdlrm
__init__.pyc8760644editdlrm
__init__.pyo8760644editdlrm
Edit: /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyc (26634B)
 NRec@s@dZddlmZddlmZddlmZddlm Z ddlZddlZddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlmZddlmZdd lmZdd lmZdd lmZdd lmZdd lmZddlmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&ddl'j(Z(ddl)m*Z*ddl+m,Z,dZ-defdYZ.defdYZdefdYZ/dZ0dZ1dZ2dZ3dZ4dZ5dZ6dZ7e8d Z9d!Z:d"Z;dS(#sUsetuptools.command.egg_info Create a distribution's .egg-info directory and contentsi(tFileList(tDistutilsInternalError(t convert_path(tlogN(tsix(tmap(tCommand(tsdist(t walk_revctrl(t edit_config(t bdist_egg(tparse_requirementst safe_namet parse_versiont safe_versiont yield_linest EntryPointtiter_entry_pointst to_filename(tglob(t packagingcCsd}|jtjj}tjtj}d|f}xt|D]\}}|t|dk}|dkr|r|d7}qG|d||f7}qGnd}t|} x|| krA||} | dkr||d7}nJ| d kr||7}n1| d kr!|d} | | krB|| d krB| d} n| | krk|| d krk| d} nx*| | kr|| d kr| d} qnW| | kr|tj| 7}q4||d| !} d} | dd krd } | d} n| tj| 7} |d| f7}| }n|tj| 7}|d7}qW|sG||7}qGqGW|d7}tj|dtj tj BS(s Translate a file path glob like '*.txt' in to a regular expression. This differs from fnmatch.translate which allows wildcards to match directory separators. It also knows about '**/' which matches any number of directories. ts[^%s]is**s.*s (?:%s+%s)*it*t?t[t!t]t^s[%s]s\Ztflags( tsplittostpathtseptretescapet enumeratetlentcompilet MULTILINEtDOTALL(RtpattchunksR t valid_chartctchunkt last_chunktit chunk_lentchartinner_itinnert char_class((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyttranslate_pattern$sV                tegg_infocBseZdZddddgZdgZidd 6Zd ZedZej dZdZ dZ e dZ dZdZdZdZdZdZdZRS(s+create a distribution's .egg-info directorys egg-base=tesLdirectory containing .egg-info directories (default: top of the source tree)stag-datetds0Add date stamp (e.g. 20050528) to version numbers tag-build=tbs-Specify explicit tag to add to version numbersno-datetDs"Don't include date stamp [default]cCsLd|_d|_d|_d|_d|_d|_t|_d|_ dS(Ni( tNonetegg_namet egg_versiontegg_baseR5t tag_buildttag_datetFalsetbroken_egg_infotvtags(tself((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytinitialize_optionss       cCsdS(N((RC((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyttag_svn_revisionscCsdS(N((RCtvalue((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyREscCsOttdt}|}|j|diR?R5N(tgetattrt collectionstdictttagsR (RCtfilenametodictR5((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytsave_version_infos   cCst|jj|_|j|_|j|_t|j}yKt |t j j }|ridnd}t t||j|jfWn3tk rtjjd|j|jfnX|jdkr|jj}|pijdtj|_n|jdt|jd|_|jtjkrXtjj|j|j|_nd|jkrt|jn|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-%sRR=s .egg-infot-(%R t distributiontget_nameR;RKRBttagged_versionR<R t isinstanceRtversiontVersiontlistR t ValueErrort distutilsterrorstDistutilsOptionErrorR=R:t package_dirtgetRtcurdirtensure_dirnameRR5Rtjointcheck_broken_egg_infotmetadatat _patched_disttkeytlowert_versiont_parsed_version(RCtparsed_versiont is_versiontspectdirstpd((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytfinalize_optionss8!   ! !  $ cCsl|r|j|||nLtjj|rh|dkrX| rXtjd||dS|j|ndS(sWrite `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_fileRRtexistsR:Rtwarnt delete_file(RCtwhatRLtdatatforce((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_or_delete_files  cCsdtjd||tjr.|jd}n|js`t|d}|j||jndS(sWrite `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(RCRqRLRrtf((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRms   cCs-tjd||js)tj|ndS(s8Delete `filename` (if not a dry run) after announcing its deleting %sN(RRvRyRtunlink(RCRL((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRps cCsE|jj}|jr4|j|jr4t|St||jS(N(RPt get_versionRBtendswithR(RCRT((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRRs cCs|j|j|jj}xXtdD]J}|jd||j}|||jtj j |j|jq)Wtj j |jd}tj j |r|j |n|j dS(Nsegg_info.writerst installersnative_libs.txt(tmkpathR5RPtfetch_build_eggRtrequiretresolvetnameRRR_RnRpt find_sources(RCRteptwritertnl((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytrun s  ,cCsBd}|jr||j7}n|jr>|tjd7}n|S(NRs-%Y%m%d(R>R?ttimetstrftime(RCRT((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRKs   cCsJtjj|jd}t|j}||_|j|j|_dS(s"Generate SOURCES.txt manifest files SOURCES.txtN( RRR_R5tmanifest_makerRPtmanifestRtfilelist(RCtmanifest_filenametmm((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR"s   cCs|jd}|jtjkr:tjj|j|}ntjj|rtjddddd||j |j |_ ||_ ndS(Ns .egg-infoROiNs 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. ( R;R=RR]RR_RnRRoR5RA(RCtbei((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR`*s   (s egg-base=R6sLdirectory containing .egg-info directories (default: top of the source tree)(stag-dateR7s0Add date stamp (e.g. 20050528) to version number(s tag-build=R8s-Specify explicit tag to add to version number(sno-dateR9s"Don't include date stamp [default](t__name__t __module__t descriptiont user_optionstboolean_optionst negative_optRDtpropertyREtsetterRNRlR@RtRmRpRRRRKRR`(((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR5ws*      /       RcBseZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZRS(cCs|j|\}}}}|dkrw|jddj|x|D](}|j|sHtjd|qHqHWnx|dkr|jddj|xO|D](}|j|stjd|qqWn|dkr/|jd dj|x|D](}|j|stjd |qqWn|d kr|jd dj|x|D](}|j|s\tjd |q\q\Wnd|dkr|jd|dj|fx5|D].}|j ||stjd||qqWn|dkr[|jd|dj|fx|D].}|j ||s&tjd||q&q&Wn|dkr|jd||j |stjd|qnR|dkr|jd||j |stjd|qnt d|dS(Ntincludesinclude t s%warning: no files found matching '%s'texcludesexclude s9warning: no previously-included files found matching '%s'sglobal-includesglobal-include s>warning: no files found matching '%s' anywhere in distributionsglobal-excludesglobal-exclude sRwarning: no previously-included files matching '%s' found anywhere in distributionsrecursive-includesrecursive-include %s %ss:warning: no files found matching '%s' under directory '%s'srecursive-excludesrecursive-exclude %s %ssNwarning: no previously-included files matching '%s' found under directory '%s'tgraftsgraft s+warning: no directories found matching '%s'tprunesprune s6no previously-included directories found matching '%s's'this cannot happen: invalid action '%s'(t_parse_template_linet debug_printR_RRRoRtglobal_includetglobal_excludetrecursive_includetrecursive_excludeRRR(RCtlinetactiontpatternstdirt dir_patterntpattern((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytprocess_template_line=sd                         cCsrt}xett|jdddD]D}||j|r&|jd|j||j|=t}q&q&W|S(s Remove all files from the file list that match the predicate. Return True if any matching files were removed iis removing (R@trangeR$tfilesRtTrue(RCt predicatetfoundR.((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyt _remove_filess&  cCsHgt|D]}tjj|s |^q }|j|t|S(s#Include files that match 'pattern'.(RRRtisdirtextendtbool(RCRR}R((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs1 cCst|}|j|jS(s#Exclude files that match 'pattern'.(R4Rtmatch(RCRR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs cCsftjj|d|}gt|dtD]}tjj|s+|^q+}|j|t|S(sN Include all files anywhere in 'dir/' that match the pattern. s**t recursive(RRR_RRRRR(RCRRt full_patternR}R((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs  cCs.ttjj|d|}|j|jS(sM Exclude any file anywhere in 'dir/' that match the pattern. s**(R4RRR_RR(RCRRR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRscCsOgt|D]%}tjj|D] }|^q#q }|j|t|S(sInclude all files from 'dir/'.(RRXRtfindallRR(RCRt match_dirtitemR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs % cCs+ttjj|d}|j|jS(sFilter out files from 'dir/'.s**(R4RRR_RR(RCRR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRscCsy|jdkr|jnttjjd|}g|jD]}|j|rA|^qA}|j|t |S(s Include all files anywhere in the current directory that match the pattern. This is very inefficient on large file trees. s**N( tallfilesR:RR4RRR_RRR(RCRRR}R((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs  + cCs+ttjjd|}|j|jS(sD Exclude all files anywhere that match the pattern. s**(R4RRR_RR(RCRR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRscCsN|jdr|d }nt|}|j|rJ|jj|ndS(Ns i(RRt _safe_pathRtappend(RCRR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs   cCs |jjt|j|dS(N(RRtfilterR(RCtpaths((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRscCs"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(RVRRR(RC((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyt_repairscCsd}tj|}|dkr6tjd|tStj|d}|dkrktj||dtSy,tjj |stjj |rt SWn*t k rtj||t j nXdS(Ns!'%s' not %s encodable -- skippings''%s' in unexpected encoding -- skippingsutf-8(t unicode_utilstfilesys_decodeR:RRoR@t try_encodeRRRnRtUnicodeEncodeErrortsystgetfilesystemencoding(RCRtenc_warntu_patht utf8_path((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs  $ (RRRRRRRRRRRRRRRR(((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR:s I        RcBseeZdZdZdZdZdZdZdZe dZ dZ d Z RS( s MANIFEST.incCs(d|_d|_d|_d|_dS(Ni(t use_defaultsRt manifest_onlytforce_manifest(RC((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRDs   cCsdS(N((RC((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRlscCst|_tjj|js.|jn|jtjj|jrZ|j n|j |jj |jj |jdS(N( RRRRRnRtwrite_manifestt add_defaultsttemplatet read_templatetprune_file_listtsorttremove_duplicates(RC((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR s       cCs"tj|}|jtjdS(Nt/(RRtreplaceRR (RCR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyt_manifest_normalizescCsb|jjg|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(RRRRRtexecuteRm(RCR}Rtmsg((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs ( cCs&|j|s"tj||ndS(N(t_should_suppress_warningRRo(RCR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRo&scCstjd|S(s; suppress missing-file warnings from sdist sstandard file .*not found(R!R(R((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR*scCstj||jj|j|jj|jtt}|r[|jj|n"t j j |jr}|j n|j d}|jj|jdS(NR5(RRRRRRRVRRRRRnt read_manifesttget_finalized_commandRR5(RCtrcfilestei_cmd((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR1s  cCsy|jd}|jj}|jj|j|jj|tjtj }|jj d|d|dddS(Ntbuilds(^|s)(RCS|CVS|\.svn)tis_regexi( RRPt get_fullnameRRt build_baseR!R"RR texclude_pattern(RCRtbase_dirR ((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR=s( RRRRDRlRRRRot staticmethodRRR(((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRs     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-8RuN(R_RxRzR{(RLtcontentsR}((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRmGscCstjd||js|jj}|j|j|_}|j|j|_}z|j |j Wd|||_|_Xt |jdd}t j|j |ndS(Ns writing %stzip_safe(RRvRyRPRaR<RTR;Rtwrite_pkg_infoR5RHR:R twrite_safety_flag(tcmdtbasenameRLRatoldvertoldnametsafe((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyRTs  cCs&tjj|r"tjdndS(NssWARNING: 'depends.txt' is not used by setuptools 0.6! Use the install_requires/extras_require setup() args instead.(RRRnRRo(RRRL((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytwarn_depends_obsoletefscCs;t|p d}d}t||}|j|dS(NcSs|dS(Ns ((R((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytpR((RRt writelines(tstreamtreqstlinest append_cr((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyt_write_requirementsns cCs|j}tj}t||j|jp1i}x>t|D]0}|jdjt t|||qAW|j d||j dS(Ns [{extra}] t requirements( RPRtStringIORtinstall_requirestextras_requiretsortedR{tformattvarsRttgetvalue(RRRLtdistRrRtextra((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_requirementsus  cCs9t}t||jj|jd||jdS(Nssetup-requirements(RRRPtsetup_requiresRtR(RRRLRr((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_setup_requirementss cCsetjg|jjD]}|jddd^q}|jd|djt|ddS(Nt.iistop-level namess (RJtfromkeysRPtiter_distribution_namesRRmR_R(RRRLtktpkgs((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytwrite_toplevel_namess2cCst|||tdS(N(t write_argR(RRRL((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyt overwrite_argscCsgtjj|d}t|j|d}|dk rMdj|d}n|j||||dS(Nis (RRtsplitextRHRPR:R_Rt(RRRLRstargnameRF((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyR s  cCs|jj}t|tjs*|dkr3|}n|dk rg}xt|jD]n\}}t|tjstj ||}dj tt t |j }n|jd||fqXWdj |}n|jd||tdS(Ns s [%s] %s Rs entry points(RPt entry_pointsRSRt string_typesR:RtitemsRt parse_groupR_RtstrtvaluesRRtR(RRRLRRrtsectionR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pyt write_entriess   'cCs}tjdttjjdrytjdC}x9|D]1}tj d|}|r;t |j dSq;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( twarningsRotDeprecationWarningRRRntioRzR!Rtinttgroup(R}RR((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytget_pkg_info_revisions  (<t__doc__tdistutils.filelistRt _FileListtdistutils.errorsRtdistutils.utilRRXRRR!RRRRRItsetuptools.externRtsetuptools.extern.six.movesRt setuptoolsRtsetuptools.command.sdistRRtsetuptools.command.setoptR tsetuptools.commandR t pkg_resourcesR R R RRRRRtsetuptools.unicode_utilsRtsetuptools.globRtpkg_resources.externRR4R5RRmRRRRRR R R@R RR(((sL/opt/alt/python27/lib/python2.7/site-packages/setuptools/command/egg_info.pytsN         : SI