관리-도구
편집 파일: seeder.cpython-37.pyc
B ���a� � @ sH d dl mZmZ d dlmZmZ d dlmZ ee�G dd� de��Z dS )� )�absolute_import�unicode_literals)�ABCMeta�abstractmethod)� add_metaclassc @ s0 e Zd ZdZdd� Zedd� �Zedd� �ZdS ) �SeederzDA seeder will install some seed packages into a virtual environment.c C s || _ |j| _dS )z� :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 �G/opt/alt/python37/lib/python3.7/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 N)r )r Zcreatorr r r �run! s z Seeder.runN) �__name__� __module__�__qualname__�__doc__r �classmethodr r r r r r r r s r N) � __future__r r �abcr r Zsixr �objectr r r r r �<module> s