class documentation
Undocumented
Method | change |
Change the install directories pointed by name using root. |
Method | convert |
Call `convert_path` over `names`. |
Method | create |
Create directories under ~. |
Method | create |
Creates the .pth file |
Method | dump |
Dumps the list of user options. |
Method | expand |
Calls `os.path.expanduser` on install_base, install_platbase and root. |
Method | expand |
Calls `os.path.expanduser` on install dirs. |
Method | finalize |
Finalizes options. |
Method | finalize |
Finalizes options for non-posix platforms |
Method | finalize |
Finalizes options for posix platforms. |
Method | get |
Returns the inputs of all the sub-commands |
Method | get |
Assembles the outputs of all the sub-commands. |
Method | handle |
Set `path_file` and `extra_dirs` using `extra_path`. |
Method | has |
Returns true if the current distribution has any data to. install. |
Method | has |
Returns true if the current distribution has any headers to install. |
Method | has |
Returns true if the current distribution has any Python modules to install. |
Method | has |
Returns true if the current distribution has any scripts to. install. |
Method | initialize |
Initializes options. |
Method | run |
Runs the command. |
Method | select |
Undocumented |
Class Variable | boolean |
Undocumented |
Class Variable | description |
Undocumented |
Class Variable | negative |
Undocumented |
Class Variable | sub |
Undocumented |
Class Variable | user |
Undocumented |
Instance Variable | build |
Undocumented |
Instance Variable | build |
Undocumented |
Instance Variable | compile |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | exec |
Undocumented |
Instance Variable | extra |
Undocumented |
Instance Variable | extra |
Undocumented |
Instance Variable | force |
Undocumented |
Instance Variable | home |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | install |
Undocumented |
Instance Variable | optimize |
Undocumented |
Instance Variable | path |
Undocumented |
Instance Variable | prefix |
Undocumented |
Instance Variable | record |
Undocumented |
Instance Variable | root |
Undocumented |
Instance Variable | skip |
Undocumented |
Instance Variable | user |
Undocumented |
Instance Variable | warn |
Undocumented |
Method | _expand |
Undocumented |
Inherited from Command
:
Method | __getattr__ |
Undocumented |
Method | __init__ |
Create and initialize a new Command object. Most importantly, invokes the 'initialize_options()' method, which is the real initializer and depends on the actual command being instantiated. |
Method | announce |
Undocumented |
Method | copy |
Copy a file respecting verbose, dry-run and force flags. (The former two default to whatever is in the Distribution object, and the latter defaults to false for commands that don't define it.) |
Method | copy |
Copy an entire directory tree respecting verbose, dry-run, and force flags. |
Method | debug |
Print 'msg' to stdout if the global DEBUG (taken from the DISTUTILS_DEBUG environment variable) flag is true. |
Method | dump |
Undocumented |
Method | ensure |
Undocumented |
Method | ensure |
Ensure that 'option' is the name of an existing file. |
Method | ensure |
Undocumented |
Method | ensure |
Ensure that 'option' is a string; if not defined, set it to 'default'. |
Method | ensure |
Ensure that 'option' is a list of strings. If 'option' is currently a string, we split it either on /,\s*/ or /\s+/, so "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become ["foo", "bar", "baz"]. |
Method | execute |
Undocumented |
Method | get |
Undocumented |
Method | get |
Wrapper around Distribution's 'get_command_obj()' method: find (create if necessary and 'create' is true) the command object for 'command', call its 'ensure_finalized()' method, and return the finalized command object. |
Method | get |
Determine the sub-commands that are relevant in the current distribution (ie., that need to be run). This is based on the 'sub_commands' class attribute: each tuple in that list may include a method that we call to determine if the subcommand needs to be run for the current distribution... |
Method | make |
Undocumented |
Method | make |
Special case of 'execute()' for operations that process one or more input files and generate one output file. Works just like 'execute()', except the operation is skipped and a different message printed if 'outfile' already exists and is newer than all files listed in 'infiles'... |
Method | mkpath |
Undocumented |
Method | move |
Move a file respecting dry-run flag. |
Method | reinitialize |
Undocumented |
Method | run |
Run some other command: uses the 'run_command()' method of Distribution, which creates and finalizes the command object if necessary and then invokes its 'run()' method. |
Method | set |
Set the values of any "undefined" options from corresponding option values in some other command object. "Undefined" here means "is None", which is the convention used to indicate that an option has not been changed between 'initialize_options()' and 'finalize_options()'... |
Method | spawn |
Spawn an external command respecting dry-run flag. |
Method | warn |
Undocumented |
Instance Variable | distribution |
Undocumented |
Instance Variable | finalized |
Undocumented |
Instance Variable | help |
Undocumented |
Instance Variable | verbose |
Undocumented |
Method | _ensure |
Undocumented |
Method | _ensure |
Undocumented |
Instance Variable | _dry |
Undocumented |