File: //usr/local/lib/python3.10/dist-packages/setuptools/command/__pycache__/bdist_wheel.cpython-310.pyc
o
��h�V � @ sp d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZmZ ddl
mZ ddlmZ ddlmZmZ ddlmZmZ dd lmZmZ dd
lmZ ddlmZmZm Z dd
l!m"Z" ddl#m$Z$ ddl m%Z% ddl&m&Z' ddl(m)Z) d0dd�Z*e+e�,d�d �Z-dZ.d1dd�Z/d2dd�Z0d3d!d"�Z1 #d4d5d(d)�Z2d6d*d+�Z3d0d,d-�Z4G d.d/� d/e�Z5dS )7zI
Create a wheel (.whl) distribution.
A wheel is a built archive format.
� )�annotationsN)�Iterable�Sequence)�BytesGenerator)�iglob)�Literal�cast)�ZIP_DEFLATED�
ZIP_STORED)�tags�version)� WheelFile� )�Command�__version__�_shutil)�_safe_license_file)�
safer_name)�SetuptoolsDeprecationWarning� )�egg_info)�logr �str�returnc C s@ zt t�| ��W S tjy | �dd�} t�dd| � Y S w )zB
Convert an arbitrary string to a standard version string
� �.z[^A-Za-z0-9.]+�-)r �_packaging_version�Version�InvalidVersion�replace�re�sub�r � r$ �I/usr/local/lib/python3.10/dist-packages/setuptools/command/bdist_wheel.py�safe_version"