%PDF- %PDF-
Direktori : /proc/self/root/lib64/python3.6/distutils/command/__pycache__/ |
Current File : //proc/self/root/lib64/python3.6/distutils/command/__pycache__/sdist.cpython-36.pyc |
3 \�E � @ s� d Z ddlZddlZddlT ddlmZ ddlmZ ddlmZ ddl m Z mZmZm Z ddlmZ ddlT dd lmZ dd l mZ ddlmZ dd � ZG dd� de�ZdS )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 sd ddl m} ddlm} g }x,|j� D ] }|jd| d|| d f� q&W |j� | |�jd� dS )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 �//usr/lib64/python3.6/distutils/command/sdist.py�show_formats s r c @ s� e Zd ZdZdd� ZdJdKdLdMdNdOdPdQdRdTdUdVdWdXgZd ddddd"gZd*dd+efgZd dd,�Z d-efgZ d.d/� Zd0d1� Zd2d3� Z d4d5� Zd6d7� Zd8d9� Zd:d;� Zd<d=� Zd>d?� Zd@dA� ZdBdC� ZdDdE� ZdFdG� ZdHdI� ZdS )Y�sdistz6create a source distribution (tarball, zip file, etc.)c C s | j S )zYCallable used for the check sub-command. Placed here so user_options can view it)�metadata_check)�selfr r r �checking_metadata% s zsdist.checking_metadata� template=�t�5name of manifest template file [default: MANIFEST.in]� manifest=�m�)name of manifest file [default: MANIFEST]�use-defaultsN�Rinclude the default file set in the manifest [default; disable with --no-defaults]�no-defaults�"don't include the default file set�prune��specifically exclude files/directories that should not be distributed (build tree, RCS/CVS dirs, etc.) [default; disable with --no-prune]�no-prune�$don't automatically exclude anything� manifest-only�o�Ejust regenerate the manifest and then stop (implies --force-manifest)�force-manifest�f�kforcibly regenerate the manifest and carry on as usual. Deprecated: now the manifest is always regenerated.�formats=�6formats for source distribution (comma-separated list)� keep-temp�kz1keep the distribution tree around after creating zarchive file(s)� dist-dir=�d�Fdirectory to put the source distribution archive(s) in [default: dist]�metadata-check�[Ensure that all required elements of meta-data are supplied. Warn if any missing. [default]�owner=�u�@Owner name used when creating a tar file [default: current user]�group=�g�AGroup name used when creating a tar file [default: current group]zhelp-formatsz#list available distribution formats)zno-defaultszno-prune�checkc C sT d | _ d | _d| _d| _d| _d| _dg| _d| _d | _d | _ d| _ d | _d | _d S )N� r Zgztar) �template�manifest�use_defaultsr'