관리-도구
편집 파일: run.cpython-311.pyc
� �܋f] � � � d dl Z d dlZd dlmZ d dlmZ ddlmZ ddlm Z ddl mZ defd �Zdefd �Z edk r e � � dS dS )� N)�Path)�NoReturn� )�find_requirements)�RequirementsNotFound)� FORMATTERS�returnc �r � t j � d| z � � t j d� � d S )Nz%s r )�sys�stderr�write�exit)�messages �j/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/requirements_detector/run.py�_dier s. � ��J���V�g�%�&�&�&��H�Q�K�K�K�K�K� c � � t t j � � dk r t t j d � � } nt j � � } | � � � st d| z � � | � � � st d| z � � t | � � }n"# t $ r t d| z � � Y nw xY wd}t | |� � t j d� � d S )Nr z%s does not existz%s is not a directoryz!Unable to find requirements at %s�requirements_filer )�lenr �argvr �cwd�existsr �is_dirr r r r )�path�requirements�format_names r �runr s� � � �3�8�}�}�q����C�H�Q�K� � ����x�z�z���;�;�=�=� )�� �4� '�(�(�(��;�;�=�=� -�� $�t� +�,�,�,�9�(��.�.����� 9� 9� 9�� 0�4� 7�8�8�8�8�8�9���� &�K��{��L�)�)�)��H�Q�K�K�K�K�Ks �B. �.C �C �__main__)�osr �pathlibr �typingr � r � exceptionsr � formattersr r r �__name__� r r �<module>r'