o
    Wù¡ið  ã                   @  s‚   d dl mZ d dlmZmZ d dlmZ er4d dlmZ d dl	m
Z
 d dlmZ d dlmZ d dlmZ G d	d
„ d
eƒZd
gZdS )é    )Úannotations)ÚABCÚabstractmethod)ÚTYPE_CHECKING)ÚArgumentParser)Ú
PythonInfo)ÚAppData)ÚVirtualEnvOptions)ÚCreatorc                   @  s6   e Zd ZdZddd	„Zeddd„ƒZeddd„ƒZdS )ÚSeederzDA seeder will install some seed packages into a virtual environment.Úoptionsr	   ÚenabledÚboolÚreturnÚNonec                 C  s   || _ |j| _dS )z°Create.

        :param options: the parsed options as defined within :meth:`add_parser_arguments`
        :param enabled: a flag weather the seeder is enabled or not

        N)r   Úenv)Úselfr   r   © r   úJ/home/ubuntu/.local/lib/python3.10/site-packages/virtualenv/seed/seeder.pyÚ__init__   s   zSeeder.__init__Úparserr   Úinterpreterr   Úapp_datar   c                 C  ó   t ‚)zÕAdd CLI arguments for this seed mechanisms.

        :param parser: the CLI parser
        :param app_data: the CLI parser
        :param interpreter: the interpreter this virtual environment is based of

        ©ÚNotImplementedError)Úclsr   r   r   r   r   r   Úadd_parser_arguments   s   	zSeeder.add_parser_argumentsÚcreatorr
   c                 C  r   )z·Perform the seed operation.

        :param creator: the creator (based of :class:`virtualenv.create.creator.Creator`) we used to create this virtual
            environment

        r   )r   r   r   r   r   Úrun(   s   z
Seeder.runN)r   r	   r   r   r   r   )r   r   r   r   r   r   r   r   )r   r
   r   r   )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úclassmethodr   r   r   r   r   r   r   r      s    


r   N)Ú
__future__r   Úabcr   r   Útypingr   Úargparser   Úpython_discoveryr   Úvirtualenv.app_data.baser   Úvirtualenv.config.cli.parserr	   Úvirtualenv.create.creatorr
   r   Ú__all__r   r   r   r   Ú<module>   s    $ÿ