관리-도구
편집 파일: _requirestxt.cpython-312.pyc
� t��eo � �h � d Z ddlZddlmZ ddlmZ ddlmZmZm Z m Z mZ ddlm Z ddlmZ dd lmZ ed � Zeedf ZeZe j, Zdede eef d e ee eeee f f fd�Zded e eee f fd�Zdede eee f d e ee eeee f f fd�Zd� Zd� Zd� Zd� Zd� Zd� Z y)aS Helper code used to generate ``requires.txt`` files in the egg-info directory. The ``requires.txt`` file has an specific format: - Environment markers need to be part of the section headers and should not be part of the requirement spec itself. See https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html#requires-txt � N)�defaultdict)�filterfalse)�Dict�List�Tuple�Mapping�TypeVar� )�_reqs)�yield_lines)�Requirement�_T�install_requires�extras_require�returnc �0 � t |� }t | |� S )z�Given values for ``install_requires`` and ``extras_require`` create modified versions in a way that can be written in ``requires.txt`` )�_convert_extras_requirements�"_move_install_requirements_markers)r r �extrass ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/command/_requirestxt.py�_preparer s � � *�.� 9�F�-�.>��G�G� c �� � t t � }| j � D ]D \ }}|| t j |� D ]"