Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/setuptools/command/py36compat.pyc

�
�fc@s�ddlZddlmZddlmZddlmZddlmZdd
d��YZe	ejd�r�ddd	��YZndS(i����N(tglob(tconvert_path(tsdist(tfiltertsdist_add_defaultscBseeZdZd�Zed��Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�ZRS(
s�
    Mix-in providing forward-compatibility for functionality as found in
    distutils on Python 3.7.

    Do not edit the code in this class except to update functionality
    as implemented in distutils. Instead, override in the subclass.
    cCsJ|j�|j�|j�|j�|j�|j�|j�dS(s9Add all the default files to self.filelist:
          - README or README.txt
          - setup.py
          - test/test*.py
          - all pure Python modules mentioned in setup script
          - all files pointed by package_data (build_py)
          - all files defined in data_files.
          - all files defined as scripts.
          - all C sources listed as part of extensions or C libraries
            in the setup script (doesn't catch C headers!)
        Warns if (README or README.txt) or setup.py are missing; everything
        else is optional.
        N(t_add_defaults_standardst_add_defaults_optionalt_add_defaults_pythont_add_defaults_data_filest_add_defaults_extt_add_defaults_c_libst_add_defaults_scripts(tself((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pytadd_defaultss





cCsStjj|�stStjj|�}tjj|�\}}|tj|�kS(s�
        Case-sensitive path existence check

        >>> sdist_add_defaults._cs_path_exists(__file__)
        True
        >>> sdist_add_defaults._cs_path_exists(__file__.upper())
        False
        (tostpathtexiststFalsetabspathtsplittlistdir(tfspathRt	directorytfilename((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyt_cs_path_exists(s

cCs�|j|jjg}x�|D]�}t|t�r�|}t}x7|D]/}|j|�rDt}|jj	|�PqDqDW|s�|j
ddj|��q�q|j|�r�|jj	|�q|j
d|�qWdS(Ns,standard file not found: should have one of s, sstandard file '%s' not found(tREADMEStdistributiontscript_namet
isinstancettupleRRtTruetfilelisttappendtwarntjoin(Rt	standardstfntaltstgot_it((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyR9s 

	cCsLddg}x9|D]1}ttjjt|��}|jj|�qWdS(Ns
test/test*.pys	setup.cfg(RRRtisfileRRtextend(Rtoptionaltpatterntfiles((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyRNs
cCs�|jd�}|jj�r7|jj|j��nxM|jD]B\}}}}x-|D]%}|jjtj	j
||��qZWqAWdS(Ntbuild_py(tget_finalized_commandRthas_pure_modulesRR(tget_source_filest
data_filesR RRR"(RR,tpkgtsrc_dirt	build_dirt	filenamesR((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyRTs
cCs�|jj�r�x�|jjD]�}t|t�ret|�}tjj|�r�|j	j
|�q�q|\}}x?|D]7}t|�}tjj|�rx|j	j
|�qxqxWqWndS(N(Rthas_data_filesR0RtstrRRRR'RR (RtitemtdirnameR4tf((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyRds
cCs;|jj�r7|jd�}|jj|j��ndS(Nt	build_ext(Rthas_ext_modulesR-RR(R/(RR:((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyR	uscCs;|jj�r7|jd�}|jj|j��ndS(Nt
build_clib(Rthas_c_librariesR-RR(R/(RR<((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyR
zscCs;|jj�r7|jd�}|jj|j��ndS(Nt
build_scripts(Rthas_scriptsR-RR(R/(RR>((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyRs(
t__name__t
__module__t__doc__R
tstaticmethodRRRRRR	R
R(((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyR	s							RcBseZRS((R@RA(((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyR�s(((
RRtdistutils.utilRtdistutils.commandRtsetuptools.extern.six.movesRRthasattr(((sA/usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyt<module>s|

Hacked By AnonymousFox1.0, Coded By AnonymousFox