File: //usr/local/lib/python3.10/site-packages/setuptools/command/__pycache__/install_lib.cpython-310.pyc
o
��i# � @ sH d dl Z d dlZd dlmZmZ d dlm mZ G dd� dej�ZdS )� N)�product�starmapc @ s\ e Zd ZdZdd� Zdd� Zdd� Zedd � �Zd
d� Z edd
� �Z
ddd�Zdd� ZdS )�install_libz9Don't add compiled flags to filenames of non-Python filesc C s* | � � | �� }|d ur| �|� d S d S �N)�build�install�byte_compile)�self�outfiles� r �I/usr/local/lib/python3.10/site-packages/setuptools/command/install_lib.py�run
s
�zinstall_lib.runc s4 � fdd�� � � D �}t|� �� �}tt� j|��S )z�
Return a collections.Sized collections.Container of paths to be
excluded for single_version_externally_managed installations.
c 3 s$ � | ]
}� � |�D ]}|V q qd S r )�
_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&