관리-도구
편집 파일: seeders.cpython-37.pyc
B ���a2 � @ s0 d dl mZmZ ddlmZ G dd� de�ZdS )� )�absolute_import�unicode_literals� )�ComponentBuilderc sD e Zd Z� fdd�Zdd� Zedd� �Z� fdd�Zd d � Z� Z S )�SeederSelectorc s$ | � d�}tt| ��||d|� d S )Nzvirtualenv.seedZseeder)�options�superr �__init__)�self�interpreter�parser�possible)� __class__� �N/opt/alt/python37/lib/python3.7/site-packages/virtualenv/run/plugin/seeders.pyr s zSeederSelector.__init__c C s: | j jd�|�|| �� ddd� | j jddddd d � d S )Nz--{}Fzseed packages install method)�choices�default�required�helpz --no-seedz --without-pipzdo not install seed packages� store_trueZno_seed)r �action�dest)r �add_argument�format�_get_default)r �namer r r r �add_selector_arg_parse s z%SeederSelector.add_selector_arg_parsec C s dS )Nzapp-datar r r r r r s zSeederSelector._get_defaultc s t t| ��|�S )N)r r �handle_selected_arg_parse)r r )r r r r s z(SeederSelector.handle_selected_arg_parsec C s | � |�S )N)Z_impl_class)r r r r r �create"