[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.189.171.188: ~ $


��\��@s�ddlmZddljjZddlZddlZddlZddl	Z	ddl
mZddlm
Z
ddlZeZddd�ZGd	d
�d
e
ej�ZdS)�)�logN)�six�)�sdist_add_defaults�ccs@x9tjd�D](}x|j�|�D]}|Vq)WqWdS)z%Find all files under revision controlzsetuptools.file_findersN)�
pkg_resourcesZiter_entry_points�load)�dirnameZep�item�r�	/sdist.py�walk_revctrlsr
cs<eZdZdZd-ddddfd.gZiZd/Zdd�Zdd�Zdd�Z	dd�Z
eej
dd���Zdd�Zejd0kp�d1ejko�d2knp�d3ejko�d4knZer�eZd!d"�Z�fd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Z�S)5�sdistz=Smart sdist that finds anything supported by revision control�formats=N�6formats for source distribution (comma-separated list)z	keep-temp�kz1keep the distribution tree around after creating zarchive file(s)�	dist-dir=�d�Fdirectory to put the source distribution archive(s) in [default: dist]�README�
README.rst�
README.txtcCs�|jd�|jd�}|j|_|jjtjj|jd��|j�x!|j	�D]}|j|�qaWddl
}d|jjkr�|j
�|j�t|jdg�}x9|jD].}dd|f}||kr�|j|�q�WdS)N�egg_infozSOURCES.txtr�check�
dist_filesrr)Zrun_command�get_finalized_command�filelist�append�os�path�joinr�check_readmeZget_sub_commandsZdistutils.command�command�__all__Zcheck_metadata�make_distribution�getattr�distributionZ
archive_files)�selfZei_cmdZcmd_name�	distutilsr�file�datarrr�run*s 
"


z	sdist.runcCstjj|�|j�dS)N)�origr�initialize_options�_default_to_gztar)r'rrrr-Dszsdist.initialize_optionscCs#tjdkrdSdg|_dS)N��r�betar�gztar)r/r0rr1r)�sys�version_info�formats)r'rrrr.Iszsdist._default_to_gztarc	Cs(|j��tjj|�WdQRXdS)z%
        Workaround for #516
        N)�_remove_os_linkr,rr$)r'rrrr$Os
zsdist.make_distributionccsqGdd�d�}ttd|�}y
t`Wntk
rCYnXz	dVWd||k	rlttd|�XdS)zG
        In a context, remove and restore os.link if it exists
        c@seZdZdS)z&sdist._remove_os_link.<locals>.NoValueN)�__name__�
__module__�__qualname__rrrr�NoValue]sr:�linkN)r%rr;�	Exception�setattr)r:Zorig_valrrrr6Vs

	zsdist._remove_os_linkcCs\ytjj|�WnAtk
rWtj�\}}}|jjjdj	��YnXdS)N�template)
r,r�
read_templater<r3�exc_info�tb_next�tb_frame�f_locals�close)r'�_�tbrrrZ__read_template_hackks
zsdist.__read_template_hack��r/rr�cs�|jj�r�|jd�}|jj|j��|jjs�x@|jD]5\}�}}|jj�fdd�|D��qJWdS)zgetting python files�build_pycs%g|]}tjj�|��qSr)rrr )�.0�filename)�src_dirrr�
<listcomp>�s	z.sdist._add_defaults_python.<locals>.<listcomp>N)r&Zhas_pure_modulesrr�extendZget_source_filesZinclude_package_dataZ
data_files)r'rJrE�	filenamesr)rMr�_add_defaults_python�szsdist._add_defaults_pythoncsPy*tjrtj|�n
t�j�Wntk
rKtjd�YnXdS)Nz&data_files contains unexpected objects)rZPY2r�_add_defaults_data_files�super�	TypeErrorr�warn)r')�	__class__rrrR�s	
zsdist._add_defaults_data_filescCsKxD|jD]}tjj|�r
dSq
W|jddj|j��dS)Nz,standard file not found: should have one of z, )�READMESrr�existsrUr )r'�frrrr!�szsdist.check_readmecCs�tjj|||�tjj|d�}ttd�ritjj|�ritj|�|j	d|�|j
d�j|�dS)Nz	setup.cfgr;r)r,r�make_release_treerrr �hasattrrX�unlinkZ	copy_filerZsave_version_info)r'�base_dir�files�destrrrrZ�s!
zsdist.make_release_treec	CsTtjj|j�sdStj|jd��}|j�}WdQRX|dj�kS)NF�rbz+# file GENERATED by distutils, do NOT edit
)rr�isfile�manifest�io�open�readline�encode)r'�fpZ
first_linerrr�_manifest_is_not_generated�sz sdist._manifest_is_not_generatedcCs�tjd|j�t|jd�}x�|D]�}tjrwy|jd�}Wn&tk
rvtjd|�w,YnX|j	�}|j
d�s,|r�q,|jj|�q,W|j
�dS)z�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.
        zreading manifest file '%s'r`zUTF-8z"%r not UTF-8 decodable -- skipping�#N)r�inforbrdrZPY3�decode�UnicodeDecodeErrorrU�strip�
startswithrrrD)r'rb�linerrr�
read_manifest�s
	
zsdist.read_manifest)rNr)rrr)rrr)rGrHrG)r/r)r/rrI)r/rG)r/rGr)r7r8r9�__doc__Zuser_optionsZnegative_optrWr+r-r.r$�staticmethod�
contextlib�contextmanagerr6Z_sdist__read_template_hackr3r4Zhas_leaky_handler?rQrRr!rZrhrprr)rVrrs8		


r)r(rZdistutils.command.sdistr"rr,rr3rcrsZsetuptools.externrZ
py36compatrr�listZ_default_revctrlr
rrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-35.opt-1.pyc File 681 B 0644
__init__.cpython-35.pyc File 681 B 0644
alias.cpython-35.opt-1.pyc File 2.49 KB 0644
alias.cpython-35.pyc File 2.49 KB 0644
bdist_egg.cpython-35.opt-1.pyc File 14.54 KB 0644
bdist_egg.cpython-35.pyc File 14.54 KB 0644
bdist_rpm.cpython-35.opt-1.pyc File 1.74 KB 0644
bdist_rpm.cpython-35.pyc File 1.74 KB 0644
bdist_wininst.cpython-35.opt-1.pyc File 926 B 0644
bdist_wininst.cpython-35.pyc File 926 B 0644
build_clib.cpython-35.opt-1.pyc File 2.47 KB 0644
build_clib.cpython-35.pyc File 2.47 KB 0644
build_ext.cpython-35.opt-1.pyc File 10.59 KB 0644
build_ext.cpython-35.pyc File 10.62 KB 0644
build_py.cpython-35.opt-1.pyc File 8.99 KB 0644
build_py.cpython-35.pyc File 8.99 KB 0644
develop.cpython-35.opt-1.pyc File 6.74 KB 0644
develop.cpython-35.pyc File 6.74 KB 0644
easy_install.cpython-35.opt-1.pyc File 68.1 KB 0644
easy_install.cpython-35.pyc File 68.1 KB 0644
egg_info.cpython-35.opt-1.pyc File 22.17 KB 0644
egg_info.cpython-35.pyc File 22.17 KB 0644
install.cpython-35.opt-1.pyc File 4.08 KB 0644
install.cpython-35.pyc File 4.08 KB 0644
install_egg_info.cpython-35.opt-1.pyc File 2.48 KB 0644
install_egg_info.cpython-35.pyc File 2.48 KB 0644
install_lib.cpython-35.opt-1.pyc File 4.08 KB 0644
install_lib.cpython-35.pyc File 4.12 KB 0644
install_scripts.cpython-35.opt-1.pyc File 2.33 KB 0644
install_scripts.cpython-35.pyc File 2.33 KB 0644
py36compat.cpython-35.opt-1.pyc File 4.75 KB 0644
py36compat.cpython-35.pyc File 4.75 KB 0644
register.cpython-35.opt-1.pyc File 531 B 0644
register.cpython-35.pyc File 531 B 0644
rotate.cpython-35.opt-1.pyc File 2.63 KB 0644
rotate.cpython-35.pyc File 2.63 KB 0644
saveopts.cpython-35.opt-1.pyc File 896 B 0644
saveopts.cpython-35.pyc File 896 B 0644
sdist.cpython-35.opt-1.pyc File 6.43 KB 0644
sdist.cpython-35.pyc File 6.43 KB 0644
setopt.cpython-35.opt-1.pyc File 4.76 KB 0644
setopt.cpython-35.pyc File 4.76 KB 0644
test.cpython-35.opt-1.pyc File 8.4 KB 0644
test.cpython-35.pyc File 8.4 KB 0644
upload.cpython-35.opt-1.pyc File 1.34 KB 0644
upload.cpython-35.pyc File 1.34 KB 0644
upload_docs.cpython-35.opt-1.pyc File 6.44 KB 0644
upload_docs.cpython-35.pyc File 6.46 KB 0644