B ] @ s d dl mZmZmZ d dlmZ d dlmZ d dlm Z d dl mZ d dlm Z d dlmZ e eG dd d eZe eG d d deZe eG dd d eZe eG dd deZe eG dd deZdS ) )absolute_importprint_functionunicode_literals)ABCMeta)OrderedDict) add_metaclass)IS_WIN)Path)ensure_textc @ s e Zd ZdZerdndZdd Zedd Zedd Z ed d Z edd Zedd Zedd Z edd Zedd Zdd Zedd Zedd Zedd Zedd Zd d! Zd"S )#Describez_Given a host interpreter tell us information about what the created interpreter might look likez.exe c C s( || _ || _d | _d | _d | _d | _d S )N)interpreterdest_stdlib_stdlib_platformZ_system_stdlib _conf_vars)selfr r r K/opt/alt/python37/lib/python3.7/site-packages/virtualenv/create/describe.py__init__ s zDescribe.__init__c C s | j S )N) script_dir)r r r r bin_dir s zDescribe.bin_dirc C s | j | jd S )Nscripts)r r install_path)r r r r r s zDescribe.script_dirc C s | j | jd S )Npurelib)r r r )r r r r r # s zDescribe.purelibc C s | j | jd S )Nplatlib)r r r )r r r r r ' s zDescribe.platlibc C s t t| jd f| jd ff S )N)listr r r keys)r r r r libs+ s z Describe.libsc C s( | j d kr"t| jjd| jd| _ | j S )Nstdlib) config_var)r r r sysconfig_path_config_vars)r r r r r / s zDescribe.stdlibc C s( | j d kr"t| jjd| jd| _ | j S )N platstdlib)r )r r r r! r" )r r r r stdlib_platform5 s zDescribe.stdlib_platformc C s&