Back to index

python3.2  3.2.2
Classes | Functions
distutils.command.bdist Namespace Reference

Classes

class  bdist

Functions

def show_formats

Detailed Description

distutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).

Function Documentation

Print list of available formats (arguments to "--format" option).

Definition at line 12 of file bdist.py.

00012 
00013 def show_formats():
00014     """Print list of available formats (arguments to "--format" option).
00015     """
00016     from distutils.fancy_getopt import FancyGetopt
00017     formats = []
00018     for format in bdist.format_commands:
00019         formats.append(("formats=" + format, None,
00020                         bdist.format_command[format][1]))
00021     pretty_printer = FancyGetopt(formats)
00022     pretty_printer.print_help("List of available distribution formats:")
00023 

Here is the caller graph for this function: