관리-도구
편집 파일: seeder.cpython-38.pyc
U *�e� � @ s8 d dl mZ d dlmZmZ G dd� ded�ZdgZdS )� )�annotations)�ABCMeta�abstractmethodc @ s6 e Zd ZdZdd�dd�Zedd� �Zedd � �Zd S )�SeederzDA seeder will install some seed packages into a virtual environment.�None)�returnc C s || _ |j| _dS )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)�enabled�env)�self�optionsr � r �D/opt/hc_python/lib/python3.8/site-packages/virtualenv/seed/seeder.py�__init__ s zSeeder.__init__c C s t �dS )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 N��NotImplementedError)�cls�parser�interpreterZapp_datar r r �add_parser_arguments s zSeeder.add_parser_argumentsc C s t �dS )z� Perform the seed operation. :param creator: the creator (based of :class:`virtualenv.create.creator.Creator`) we used to create this virtual environment Nr )r Zcreatorr r r �run s z Seeder.runN) �__name__� __module__�__qualname__�__doc__r �classmethodr r r r r r r r s r )� metaclassN)� __future__r �abcr r r �__all__r r r r �<module> s $�