HEX
Server: Apache
System: Linux vpshost11508.publiccloud.com.br 5.15.179-grsec-vpshost-10.lc.el8.x86_64 #1 SMP Mon Apr 7 12:04:45 -03 2025 x86_64
User: wicomm2 (10002)
PHP: 8.3.0
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python2.7/site-packages/distribute_setup.pyc
�
$�Lc@sdZddlZddlZddlZddlZddlZddlZddlmZyddl	m
Z
Wnek
r�dZ
nXyddl
Z
d�ZWnek
r�d�ZnXdZdZd	Zd
eZd�Zd�Zd
�Zeeejded�Zeeejdd�Zd�Zd�Zee�Zd�Zd�Zd�Zee�Zd�Zd�Z ee �Z d�Z!ee!�Z!d�Z"d�Z#d�Z$d�Z%ddd�Z&ed�Z'e(d kre'ej)d!�ndS("sBootstrap distribute installation

If you want to use setuptools in your package's setup.py, just include this
file in the same directory with it, and add this to the top of your setup.py::

    from distribute_setup import use_setuptools
    use_setuptools()

If you want to require a specific version of setuptools, set a download
mirror, or use an alternate download directory, you can do so by supplying
the appropriate options to ``use_setuptools()``.

This file can also be run as a script to install or upgrade setuptools.
i����N(tlog(t	USER_SITEcGs#tjf|}tj|�dkS(Ni(tsyst
executablet
subprocesstcall(targs((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_python_cmd scGsitjf|}tjdkrJd�}g|D]}||�^q/}ntjtjtj|�dkS(Ntwin32cSsd|krd|S|S(Nt s"%s"((targ((s4/usr/lib/python2.7/site-packages/distribute_setup.pytquote*si(RRtplatformtostspawnltP_WAIT(RRR
((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR&s
	"s0.6.14s4http://pypi.python.org/packages/source/d/distribute/s0.6c11s�Metadata-Version: 1.0
Name: setuptools
Version: %s
Summary: xxxx
Home-page: xxx
Author: xxx
Author-email: xxx
License: xxx
Description: xxx
cCs�tj�}tjd|�tj�}z�tj|�tj|�}t	|�|j
�tjj|tj
|�d�}tj|�tjd|�tjd�tdd�s�tjd�tjd�nWdtj|�XdS(	NsExtracting in %sisNow working in %ssInstalling Distributessetup.pytinstalls-Something went wrong during the installation.sSee the error message above.(ttempfiletmkdtempRtwarnR
tgetcwdtchdirttarfiletopent_extractalltclosetpathtjointlistdirR(ttarballttmpdirtold_wdttartsubdir((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_installBs 


"


cCstj�}tjd|�tj�}z�tj|�tj|�}t	|�|j
�tjj|tj
|�d�}tj|�tjd|�tjd|�tdddd|�Wdtj|�Xtj|�tjj|�std	��ndS(
NsExtracting in %sisNow working in %ssBuilding a Distribute egg in %sssetup.pys-qt	bdist_eggs
--dist-dirsCould not build the egg.(RRRRR
RRRRRRRRRRtexiststIOError(teggRtto_dirRRR R!((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt
_build_egg[s"


"

cCs�tjj|d|tjdtjdf�}tjj|�sjt||||�}t|||�ntjjd|�ddl	}||_
dS(Nsdistribute-%s-py%d.%d.eggiii����(R
RRRtversion_infoR$tdownload_setuptoolsR(tinsertt
setuptoolstbootstrap_install_from(tversiont
download_baseR'tdownload_delayR&RR,((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_do_downloadws!	icCsetjj|�}dtjkp-dtjk}zy8ddl}t|d�sj|sat�nt�nWn!tk
r�t	||||�SXy|j
d|�dSWn�|jk
r%tj�d}|rtj
jd||jdf�tjd	�qI~tjd=t	||||�Sn$|jk
rHt	||||�SXWd|s`t|�nXdS(
Nt
pkg_resourcesR,i����t_distributesdistribute>=is�The required version of distribute (>=%s) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U distribute'.

(Currently using %r)
ii(R
RtabspathRtmodulesR2thasattrt_fake_setuptoolstImportErrorR1trequiretVersionConflicttexc_infotstderrtwriteRtexittDistributionNotFoundt _create_fake_setuptools_pkg_info(R.R/R'R0tno_faketwas_importedR2te((s4/usr/lib/python2.7/site-packages/distribute_setup.pytuse_setuptools�s<


	

cCstjj|�}yddlm}Wn!tk
rIddlm}nXd|}||}tjj||�}d}}	tjj	|�szHt
jd|�||�}|j�}
t
|d�}	|	j|
�Wd|r�|j�n|	r|	j�nXntjj|�S(s�Download distribute from a specified location and return its filename

    `version` should be a valid distribute version number that is available
    as an egg for download under the `download_base` URL (which should end
    with a '/'). `to_dir` is the directory where the egg will be downloaded.
    `delay` is the number of seconds to pause before an actual download
    attempt.
    i����(turlopensdistribute-%s.tar.gzsDownloading %stwbN(R
RR4turllib.requestRER8turllib2RtNoneR$RRtreadRR=Rtrealpath(R.R/R'tdelayREttgz_nameturltsavetotsrctdsttdata((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR*�s*




cs�fd�}|S(Ncs�yPddlm}t|d�sId�}|j|_||_t}nt}Wntk
rit}nXz�||�SWd|r�|j|_|`nXdS(Ni����(tDirectorySandboxt_oldcWsdS(N((R((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt	violation�s(tsetuptools.sandboxRSR6t
_violationRTtTruetFalseR8(RtkwRSRUtpatched(tfunction(s4/usr/lib/python2.7/site-packages/distribute_setup.pyt__no_sandbox�s			


((R\R]((R\s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_no_sandbox�scCsxt|�j�}||kr/tjd�tStjd�t|�t|d�}z|j|�Wd|j�XtS(s"Will backup the file then patch itsAlready patched.sPatching...twN(	RRJRRRYt_rename_pathR=RRX(Rtcontenttexisting_contenttf((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_patch_file�s


cCst|�j�|kS(N(RRJ(RRa((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt
_same_content�scCs;|dtj�}tjd||�tj||�|S(Ns.OLD.%ssRenaming %s into %s(ttimeRRR
trename(Rtnew_name((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR`�scCs>tjj|�s&tjd|�tSt}x3tj|�D]"}tj|d�r<t}Pq<q<W|sytjd�dStjd�tjj	||�}tjj|�r�t
|�}nt|t�}|s�tjd|�tSxRd
D]J}tjj	||�}tjj
|�r&t|�q�tjd	|�q�WtS(NsUnkown installation at %sssetuptools*.egg-infos%Could not locate setuptools*.egg-infos#Removing elements out of the way...s%s already patched.R,spkg_resources.pyssite.pys<Could not find the %s element of the Setuptools distribution(R,spkg_resources.pyssite.py(R
RtisdirRRRYRtfnmatchRXRt_patch_egg_dirRdtSETUPTOOLS_PKG_INFOR$R`(tplaceholdertfoundtfiletpkg_infoR[telement((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_remove_flat_installations4



	cCs-tjd�|jd�j}t|�dS(NsAfter install bootstrap.R(RRtget_command_objtinstall_purelibR@(tdistRm((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_after_install$s
cCs;|stjj|�r+tjd�dSdtjdtjdf}dt|f}tjj||�}tjj|�r�tjd|�dStjd|�t	|d�}z|j
t�Wd|j�Xtjj|d	�}tjd|�t	|d�}z#|j
tjjtj
|��Wd|j�XdS(
Ns#Could not find the install locations%s.%siissetuptools-%s-py%s.egg-infos%s already existssCreating %sR_ssetuptools.pth(R
RR$RRRR)tSETUPTOOLS_FAKED_VERSIONRRR=RlRtcurdir(Rmtpyvertsetuptools_fileRpRctpth_file((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR@)s*

#cCs�tjj|dd�}tjj|�rPt|t�rPtjd|�tSnt	|�tj
|�tj
tjj|d��tjj|dd�}t|d�}z|jt�Wd|j
�XtS(NsEGG-INFOsPKG-INFOs%s already patched.R_(R
RRR$ReRlRRRYR`tmkdirRR=RRX(RRpRc((s4/usr/lib/python2.7/site-packages/distribute_setup.pyRkFs

cCstjd�t�dS(NsBefore install bootstrap.(RRR7(((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt_before_installZs
cCs�dtjkrtStjtjjd�d}x�t|�D]�\}}x}d	D]u}|jd|�r�|jd�d}|j|�S||krPt|�|kr�||d}|j|�SqPqPW|dkr=tdk	r=|jt�Sq=WtS(
NRis--roots--prefixs%s=sroot=i����s--user(s--roots--prefix(
RtargvRXtindext	enumeratet
startswithtsplittlenRRI(tlocationRRR
toptionttop_dir((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt
_under_prefix_s

cCs�tjd�yddl}Wntk
r>tjd�dSX|j}y%|j|jjddt��}Wn,t	k
r�|j|jjd��}nX|dkr�tjd�dS|j}tjd|�t|�s�tjd�dS|j
d	�s$tjd
�t|�}|s�dSnztjd�tjj|dd
�}tjj|�r{t|t�r{tjd�dStjd�t|�}|s�dStjd�t�dS(NsScanning installed packagesi����s7Setuptools or Distribute does not seem to be installed.R,treplacements No setuptools distribution founds&Setuptools installation detected at %ssMNot patching, --root or --prefix is installing Distribute in another locations.eggsNon-egg installationsEgg installationsEGG-INFOsPKG-INFOsAlready patched.sPatching...s
Patched done.(RRR2R8tworking_settfindtRequirementtparseRYt	TypeErrorRIR�R�tendswithRrR
RRR$ReRlRkt	_relaunch(R2twstsetuptools_disttsetuptools_locationtresRp((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR7qsJ


	

	





cCsftjd�tjd dddgkr9dtjd<ntjgtj}tjtj|��dS(NsRelaunching...is-cRs#--single-version-externally-managedssetup.pyi(RRRR~RR>RR(R((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR��s

t.cCs�ddl}ddl}ddlm}g}|dkrC|}nxR|D]J}|j�r�|j|�|j|�}d|_n|j||�qJWt	j
d
kr�d�}|j|�|j�n|jd|j
d	�d
t�x�|D]�}tjj||j�}	y4|j||	�|j||	�|j||	�Wq�|k
r�t	j�d}
|jdkrw�q�|jdd|
�q�Xq�WdS(s9Extract all members from the archive to the current working
       directory and set owner, modification time and permissions on
       directories afterwards. `path' specifies a different directory
       to extract to. `members' is optional and must be a subset of the
       list returned by getmembers().
    i����N(tExtractErrori�iicSst|j|j�S(N(tcmptname(tdir1tdir2((s4/usr/lib/python2.7/site-packages/distribute_setup.pytsorter�stkeyR�treverseistarfile: %s(ii(tcopytoperatorRR�RIRitappendtmodetextractRR)tsortR�t
attrgetterRXR
RRR�tchowntutimetchmodR;t
errorlevelt_dbg(tselfRtmembersR�R�R�tdirectoriesttarinfoR�tdirpathRC((s4/usr/lib/python2.7/site-packages/distribute_setup.pyR�s8	

	



cCst�}t|�dS(s-Install or upgrade setuptools and EasyInstallN(R*R"(R~R.R((s4/usr/lib/python2.7/site-packages/distribute_setup.pytmain�s	t__main__i(*t__doc__R
RRfRjRRt	distutilsRtsiteRR8RIRRtDEFAULT_VERSIONtDEFAULT_URLRwRlR"R(R1RxRXRDR*R^RdReR`RrRvR@RkR}R�R7R�RR�t__name__R~(((s4/usr/lib/python2.7/site-packages/distribute_setup.pyt<module>s^





			&#					!						4	
/