Package distutils :: Package tests :: Module test_dist :: Class test_dist
[hide private]
[frames] | no frames]

_ClassType test_dist

cmd.Command --+
              |
             test_dist

Sample distutils extension command.

Instance Methods [hide private]
 
initialize_options(self)
Set default values for all the options that this command supports.

Inherited from cmd.Command: __getattr__, __init__, announce, copy_file, copy_tree, debug_print, dump_options, ensure_dirname, ensure_filename, ensure_finalized, ensure_string, ensure_string_list, execute, finalize_options, get_command_name, get_finalized_command, get_sub_commands, make_archive, make_file, mkpath, move_file, reinitialize_command, run, run_command, set_undefined_options, spawn, warn

Class Variables [hide private]
  user_options = [('sample-option=', 'S', 'help text')]

Inherited from cmd.Command: sub_commands

Method Details [hide private]

initialize_options(self)

 

Set default values for all the options that this command supports. Note that these defaults may be overridden by other commands, by the setup script, by config files, or by the command-line. Thus, this is not the place to code dependencies between options; generally, 'initialize_options()' implementations are just a bunch of "self.foo = None" assignments.

This method must be implemented by all command classes.

Overrides: cmd.Command.initialize_options
(inherited documentation)