관리-도구
편집 파일: bdist_egg.cpython-38.opt-1.pyc
U �Qab G � @ sx d Z ddlmZ ddlmZmZ ddlmZ ddlm Z ddl Z ddlZddlZddl Z ddlZddlmZ ddlmZmZmZ dd lmZ dd lmZ ddlmZ zddlmZmZ d d� ZW n, ek r� ddlm Z mZ dd� ZY nX dd� Z!dd� Z"dd� Z#G dd� de�Z$e%�&d�'� �Z(dd� Z)dd� Z*dd� Z+d d!d"�Z,d#d$� Z-d%d&� Z.d'd(� Z/d)d*d+d,gZ0d1d/d0�Z1dS )2z6setuptools.command.bdist_egg Build .egg distributions� )�DistutilsSetupError)�remove_tree�mkpath)�log)�CodeTypeN)�six)�get_build_platform�Distribution�ensure_directory)� EntryPoint)�Library)�Command)�get_path�get_python_versionc C s t d�S )NZpurelib)r � r r �@/usr/lib/python3.8/site-packages/setuptools/command/bdist_egg.py�_get_purelib s r )�get_python_libr c C s t d�S )NF)r r r r r r s c C s2 d| krt j�| �d } | �d�r.| d d� } | S )N�.r �modulei����)�os�path�splitext�endswith)�filenamer r r �strip_module# s r c c s6 t �| �D ]&\}}}|�� |�� |||fV q dS )zbDo os.walk in a reproducible way, independent of indeterministic filesystem readdir order N)r �walk�sort)�dir�base�dirs�filesr r r �sorted_walk+ s r"