File: //opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/sdist.cpython-35.pyc
��Yf-G  �               @   s�   d  Z  d d l Z d d l Z d d l Z d d l Td d l m Z d d l m Z d d l m	 Z	 d d l
 m Z m Z m
 Z
 m Z d d l m Z d d l Td d	 l m Z d d
 l
 m Z d d l m Z d d
 �  Z Gd d �  d e	 � Z d S)zadistutils.command.sdist
Implements the Distutils 'sdist' command (create a source distribution).�    N)�*)�glob)�warn)�Command)�dir_util�dep_util�	file_util�archive_util)�TextFile)�FileList)�log)�convert_pathc              C   s�   d d l  m }  d d l m } g  } x6 | j �  D]( } | j d | d | | d f � q3 W| j �  |  | � j d � d S)zoPrint all possible values for the 'formats' option (used by
    the "--help-formats" command-line option).
    r   )�FancyGetopt)�ARCHIVE_FORMATSzformats=N�   z.List of available source distribution formats:)Zdistutils.fancy_getoptr   Zdistutils.archive_utilr   �keys�append�sortZ
print_help)r   r   �formats�format� r   �</opt/alt/python35/lib64/python3.5/distutils/command/sdist.py�show_formats   s    
r   c               @   sg  e  Z d  Z d Z d d �  Z dM dN dO dP dQ dR dS dT dU d d d d f dV dW dX dY g Z d
 d d d d d"