Your IP : 216.73.216.196


Current Path : /opt/alt/python27/lib/python2.7/site-packages/setuptools_scm/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools_scm/file_finder.pyc

�
,�?\c@sddlZd�ZdS(i����Nc
s�tjjtjj|��}t�}g}x�tj|dt�D]�\}}}tjjtjj|�����fd�}	�|kr�g|(qCntjj|�rtjj�|�j	tj
�r|jtjj|tjj||���g|(qCn�|kr g|(qCng|D]}
|	|
�s'|
^q'|(x�|D]}|	|�reqMntjj||�}tjjtjj|���krM|jtjj|tjj||���qMqMW|j
��qCW|S(s< setuptools compatible file finder that follows symlinks

    - path: the root directory from which to search
    - scm_files: set of scm controlled files and symlinks
      (including symlinks to directories)
    - scm_dirs: set of scm controlled directories
      (including directories containing no scm controlled files)

    scm_files and scm_dirs must be absolute with symlinks resolved (realpath),
    with normalized case (normcase)

    Spec here: http://setuptools.readthedocs.io/en/latest/setuptools.html#        adding-support-for-revision-control-systems
    tfollowlinkscs=tjj�tjj|��}tjj|�o<|�kS(N(tostpathtjointnormcasetislink(tntfn(trealdirpatht	scm_files(sK/opt/alt/python27/lib/python2.7/site-packages/setuptools_scm/file_finder.pyt_link_not_in_scms!(RRRtrealpathtsettwalktTrueRtrelpatht
startswithtpardirtappendRtadd(
RR	tscm_dirsRtseentrestdirpathtdirnamest	filenamesR
tdntfilenametfullfilename((RR	sK/opt/alt/python27/lib/python2.7/site-packages/setuptools_scm/file_finder.pytscm_find_filess4	%"+&
$2(RR(((sK/opt/alt/python27/lib/python2.7/site-packages/setuptools_scm/file_finder.pyt<module>s