관리-도구
편집 파일: install_lib.cpython-35.pyc
�Re � @ s] d d l Z d d l Z d d l m Z m Z d d l j j Z Gd d � d e j � Z d S)� N)�product�starmapc @ s� e Z d Z d Z d d � Z d d � Z d d � Z e d d � � Z d d � Z e d d � � Z d d d d d d � Z d d � Z d S)�install_libz9Don't add compiled flags to filenames of non-Python filesc C s3 | j � | j � } | d k r/ | j | � d S)N)�build�install�byte_compile)�self�outfiles� r ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/command/install_lib.py�run s zinstall_lib.runc sJ � f d d � � j � D� } t | � j � � } t t � j | � � S)z� Return a collections.Sized collections.Container of paths to be excluded for single_version_externally_managed installations. c 3 s+ | ]! } � j | � D] } | Vq q d S)N)� _all_packages)�.0Zns_pkg�pkg)r r r � <genexpr> s z-install_lib.get_exclusions.<locals>.<genexpr>)�_get_SVEM_NSPsr �_gen_exclusion_paths�setr �_exclude_pkg_path)r Zall_packagesZ excl_specsr )r r �get_exclusions s zinstall_lib.get_exclusionsc C s, | j d � | g } t j j | j | � S)zw Given a package name and exclusion path within that package, compute the full exclusion path. �.)�split�os�path�join�install_dir)r r Zexclusion_path�partsr r r r s zinstall_lib._exclude_pkg_pathc c s. x'