3
”Re€$ ã @ sÊ d dl Z d dlZd dlZd dlmZ d dlmZmZ d dlm Z m
Z
mZ d dlm
Z
d dlmZ d dlmZmZ d dlmZ er¬d d lmZmZmZ d d
lmZ d dlmZ e jeƒZG dd
„ d
eƒZdS )é N)ÚCommand)ÚERRORÚSUCCESS)Ú
ConfigurationÚget_configuration_filesÚkinds)ÚPipError)Ú
indent_log)Úget_progÚwrite_output)ÚMYPY_CHECK_RUNNING)ÚListÚAnyÚOptional)ÚValues)ÚKindc @ sˆ e Zd ZdZdZdZdd„ Zdd„ Zdd „ Zd
d„ Z dd
„ Z
dd„ Zdd„ Zdd„ Z
dd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd S )!ÚConfigurationCommandah
Manage local and global configuration.
Subcommands:
- list: List the active configuration (or from the file specified)
- edit: Edit the configuration file in an editor
- get: Get the value associated with name
- set: Set the name=value
- unset: Unset the value associated with name
- debug: List the configuration files and values defined under them
If none of --user, --global and --site are passed, a virtual
environment configuration file is used if one is active and the file
exists. Otherwise, all modifications happen on the to the user file by
default.
Ta
%prog [