OwlCyberSecurity - MANAGER
Edit File: _requirestxt.cpython-311.pyc
� �� h� � �� � d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl mZ ddlm Z dd lmZ d dlmZ d dlmZ ed � � Zeedf Zdd�Zd d�Zd!d�Zd� Zd� Zd� Zd� Zd� Zd� ZdS )"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 � )�annotationsN)�defaultdict)�Mapping)�filterfalse)�TypeVar)�yield_lines)�Requirement� )�_reqs)� _StrOrIter�_T�install_requiresr �extras_require�Mapping[str, _StrOrIter]�return�&tuple[list[str], dict[str, list[str]]]c �@ � 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 �p/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/setuptools/command/_requirestxt.py�_preparer s"