o
    Vh                     @  sn   d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 er,d dlmZ G dd	 d	e
eZd
S )    )annotations)TYPE_CHECKING)ClassVar)
MAIN_GROUP)InstallCommand)SelfCommand)Optionc                   @  sZ   e Zd ZU dZdZdd ejD Zded< de	  dZ
edddZedddZdS )SelfInstallCommandzself installzLInstall locked packages (incl. addons) required by this Poetry installation.c                 C  s   g | ]	}|j d v r|qS )>   dry-runsync)name).0o r   x/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/poetry/console/commands/self/install.py
<listcomp>   s    zSelfInstallCommand.<listcomp>zClassVar[list[Option]]optionszThe <c1>self install</c1> command ensures all additional packages specified are installed in the current runtime environment.

This is managed in the <comment>z</> file.

You can add more packages using the <c1>self add</c1> command and remove them using the <c1>self remove</c1> command.
returnset[str]c                 C  s
   t | jhS )N)r   default_groupselfr   r   r   activated_groups#   s   
z#SelfInstallCommand.activated_groupsstrc                 C  s   dS )Nzpoetry self syncr   r   r   r   r   _alternative_sync_command'   s   z,SelfInstallCommand._alternative_sync_commandN)r   r   )r   r   )__name__
__module____qualname__r   descriptionr   r   __annotations__r   !get_default_system_pyproject_filehelppropertyr   r   r   r   r   r   r	      s   
 r	   N)
__future__r   typingr   r   %poetry.core.packages.dependency_groupr   poetry.console.commands.installr   )poetry.console.commands.self.self_commandr   cleo.io.inputs.optionr   r	   r   r   r   r   <module>   s    