관리-도구
편집 파일: handle_setup.cpython-311.pyc
� �܋f� � � � d dl mZ d dlmZ d dlmZmZmZ d dlm Z d dl mZmZm Z mZmZmZmZmZ ddlmZ ddlmZ G d � d � � Zdeeef fd�Zd S )� )�Path)�Union)�MANAGER�AstroidBuildingException�AstroidSyntaxError)�AstroidBuilder)�Assign� AssignName�Call�Const�Keyword�List�Name�Tuple� )�CouldNotParseRequirements)�DetectedRequirementc �( � e Zd Zd� Zdd�Zd� Zd� ZdS )�SetupWalkerc �X � || _ d | _ i | _ | � � � d S �N)�_ast�_setup_call�_top_level_assigns�walk)�self�asts �s/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/requirements_detector/handle_setup.py�__init__zSetupWalker.__init__ s* � ��� ����"$���� � ������ Nc � � |d u }|p| j }t |t � � r>|� � � D ])}t |t � � r|j dk r|| _ �*|� � � D ]a}|rHt |t � � r3|j D ]+}t |t � � r|j | j |j <