관리-도구
편집 파일: install_lib.cpython-311.pyc
� �܋f} � �j � d dl Z d dlZd dlmZmZ d dlmc mZ ddl m Z G d� dej � � ZdS )� N)�product�starmap� )�StrPathc �v � e Zd ZdZd� Zd� Zd� Zed� � � Zd� Z ed� � � Z ddedefd �Z d� ZdS )�install_libz9Don't add compiled flags to filenames of non-Python filesc � � | � � � | � � � }|�| � |� � d S d S �N)�build�install�byte_compile)�self�outfiless �o/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setuptools/command/install_lib.py�runzinstall_lib.run sD � �� � �����<�<�>�>�������h�'�'�'�'�'� �� c �� � � � fd�� � � � D � � }t |� � � � � � }t t � j |� � � � S )z� Return a collections.Sized collections.Container of paths to be excluded for single_version_externally_managed installations. c 3 �L �K � | ]}�� |� � D ]}|V � ��d S r )� _all_packages)�.0�ns_pkg�pkgr s �r � <genexpr>z-install_lib.get_exclusions.<locals>.<genexpr> s\ �� � � � � ���)�)�&�1�1� � � � � � � � � � � r )�_get_SVEM_NSPsr �_gen_exclusion_paths�setr �_exclude_pkg_path)r �all_packages� excl_specss ` r �get_exclusionszinstall_lib.get_exclusions so �� � � � � ��-�-�/�/� � � �� �\�4�+D�+D�+F�+F�G�G� ��7�4�1�:�>�>�?�?�?r c �l � |� d� � |gz }t j j | j g|�R � 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 �exclusion_path�partss r r zinstall_lib._exclude_pkg_path s8 � � � � �#���.�!1�1���w�|�D�,�5�u�5�5�5�5r c # �P K � | r!| V � | � d� � \ } }}| �dS dS )zn >>> list(install_lib._all_packages('foo.bar.baz')) ['foo.bar.baz', 'foo.bar', 'foo'] r"