File: //usr/lib/python3/dist-packages/setuptools/command/__pycache__/install_lib.cpython-310.pyc
o
[�c� � @ sH d dl Z d dlZd dlmZmZ d dlm mZ G dd� dej�ZdS )� N)�product�starmapc @ sl e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Ze dd
� �Z
dd� Ze dd� �Z ddd�Z
dd� ZdS )�install_libz9Don't add compiled flags to filenames of non-Python filesc C s t j�| � d | _d | _d S �N)�origr �initialize_options� multiarch�install_layout��self� r �@/usr/lib/python3/dist-packages/setuptools/command/install_lib.pyr
s
zinstall_lib.initialize_optionsc C sT t j�| � | �dd� | jdkr&tjd d� dkr(dd l}|�d�| _ d S d S d S )N�install)r r �deb� )� r r � MULTIARCH)
r r �finalize_options�set_undefined_optionsr �sys�version_info� sysconfig�get_config_varr )r r r r r
r s �zinstall_lib.finalize_optionsc C s* | � � | �� }|d ur| �|� d S d S r )�buildr �byte_compile)r �outfilesr r r
�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)�.0�ns_pkg�pkgr
r r
� <genexpr>"