Your IP : 3.128.94.112


Current Path : /lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //lib/python2.7/site-packages/setuptools/command/install_lib.pyo

�
�fc@s]ddlZddlZddlmZmZddljjZdejfd��YZdS(i����N(tproducttstarmaptinstall_libcBsneZdZd�Zd�Zd�Zed��Zd�Zed��Z	ddddd	�Z
d
�ZRS(s9Don't add compiled flags to filenames of non-Python filescCs6|j�|j�}|dk	r2|j|�ndS(N(tbuildtinstalltNonetbyte_compile(tselftoutfiles((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pytrun
s
csG�fd��j�D�}t|�j��}tt�j|��S(s�
        Return a collections.Sized collections.Container of paths to be
        excluded for single_version_externally_managed installations.
        c3s+|]!}�j|�D]}|VqqdS(N(t
_all_packages(t.0tns_pkgtpkg(R(sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pys	<genexpr>s(t_get_SVEM_NSPsRt_gen_exclusion_pathstsetRt_exclude_pkg_path(Rtall_packagest
excl_specs((RsB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pytget_exclusionsscCs,|jd�|g}tjj|j|�S(sw
        Given a package name and exclusion path within that package,
        compute the full exclusion path.
        t.(tsplittostpathtjointinstall_dir(RR
texclusion_pathtparts((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyRsccs.x'|r)|V|jd�\}}}qWdS(sn
        >>> list(install_lib._all_packages('foo.bar.baz'))
        ['foo.bar.baz', 'foo.bar', 'foo']
        RN(t
rpartition(tpkg_nametseptchild((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyR
's	cCs<|jjsgS|jd�}|j}|r8|jjSgS(s�
        Get namespace packages (list) but only for
        single_version_externally_managed installations and empty otherwise.
        R(tdistributiontnamespace_packagestget_finalized_commandt!single_version_externally_managed(Rtinstall_cmdtsvem((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyR1s
	ccsidVdVdVttd�s"dStjjddtj��}|dV|d	V|d
V|dVdS(sk
        Generate file paths to be excluded for namespace packages (bytecode
        cache files).
        s__init__.pys__init__.pycs__init__.pyotget_tagNt__pycache__s	__init__.s.pycs.pyos
.opt-1.pycs
.opt-2.pyc(thasattrtimpRRRR'(tbase((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyRAs			iic	sw|j���s(tjj|||�Sddlm}ddlm�g����fd�}||||��S(Ni����(tunpack_directory(tlogcsP|�kr �jd|�tS�jd|tjj|���j|�|S(Ns/Skipping installation of %s (namespace package)scopying %s -> %s(twarntFalsetinfoRRtdirnametappend(tsrctdst(texcludeR-R(sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pytpfgs	
(RtorigRt	copy_treetsetuptools.archive_utilR,t	distutilsR-(	Rtinfiletoutfilet
preserve_modetpreserve_timestpreserve_symlinkstlevelR,R6((R5R-RsB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyR8Vs
cCsKtjj|�}|j�}|rGg|D]}||kr+|^q+S|S(N(R7Rtget_outputsR(RtoutputsR5tf((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyRAts
#(t__name__t
__module__t__doc__R	RRtstaticmethodR
RRR8RA(((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyRs			
	(	RR*t	itertoolsRRtdistutils.command.install_libtcommandRR7(((sB/usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyt<module>s

?>