| Home | Trees | Index | Help |
|---|
| Package qm :: Package dist :: Module distribution :: Class Distribution |
|
Distribution --+
|
Distribution
| Method Summary | |
|---|---|
Construct a new Distribution instance: initialize all the attributes of a Distribution, and then use 'attrs' (a dictionary mapping attribute names to values) to assign some of those attributes their "real" values. | |
| Inherited from Distribution | |
| |
| |
Set final values for all the options on the Distribution instance, analogous to the .finalize_options() method of Command objects. | |
Find as many configuration files as should be processed for this platform, and return a list of filenames in the order in which they should be parsed. | |
Return the class that implements the Distutils command named by 'command'. | |
Get a list of (command, description) tuples. | |
Return the command object for 'command'. | |
Return a list of packages from which commands are loaded. | |
Get the option dictionary for a given command. | |
If there were any non-global "display-only" options (--help-commands or the metadata display options) on the command line, display the requested info and return true; else return false. | |
| |
| |
| |
| |
| |
| |
| |
| |
Parse the setup script's command line, taken from the 'script_args' instance attribute (which defaults to 'sys.argv[1:]' -- see 'setup()' in core.py). | |
| |
Print a subset of the list of all commands -- used by 'print_commands()'. | |
Print out a help message listing all available commands with a description of each. | |
Reinitializes a command to the state it was in when first returned by 'get_command_obj()': ie., initialized but not yet finalized. | |
Do whatever it takes to run a command (including nothing at all, if the command has already been run). | |
Run each command that was seen on the setup script command line. | |
| Class Variable Summary | |
|---|---|
| Inherited from Distribution | |
list |
display_option_names = ['help_commands', 'name', 'versio...
|
list |
display_options = [('help-commands', None, 'list all ava...
|
list |
global_options = [('verbose', 'v', 'run verbosely (defau...
|
dict |
negative_opt = {'quiet': 'verbose'}
|
| Method Details |
|---|
__init__(self,
attrs=None)
Construct a new Distribution instance: initialize all the attributes
of a Distribution, and then use 'attrs' (a dictionary mapping attribute
names to values) to assign some of those attributes their
"real" values. (Any attributes not mentioned in 'attrs' will
be assigned to some null value: 0, None, an empty list or dictionary,
etc.) Most importantly, initialize the 'command_obj' attribute to the
empty dictionary; this will be filled in with real command objects by
'parse_command_line()'.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 27 15:49:03 2007 | http://epydoc.sf.net |