AbstractInstallCommand


Attributes

a default_interactive

1

a default_sysconfigs

[(False, '/home/ianb/.paste/config/sysconfig.py'),
 (False, '/etc/paste/sysconfig.py'),
 (False, '/usr/local/etc/paste/sysconfig.py'),
 (True, 'paste.script.default_sysconfig')]

a default_verbosity

0

a description

None

a group_name

''

a hidden

False

a max_args

None

a max_args_error

'You must provide no more than %(max_args)s arguments'

a min_args

None

a min_args_error

'You must provide at least %(min_args)s arguments'

a required_args

()

a return_code

0

a takes_config_file

None

a usage

''

Methods

f run(self, args) ...

f standard_parser(cls, **kw) ...

f load_sysconfigs(self) ...

f __init__(self, name) ...

f get_sysconfig_option(self, name, default=None) ...

Return the value of the given option in the first sysconfig module in which it is found, or default (None) if not found in any.

f get_sysconfig_options(self, name) ...

Return the option value for the given name in all the sysconfig modules in which is is found ([] if none).

f call_sysconfig_function(self, name, *args, **kw) ...

Call the specified function in the first sysconfig module it is defined in. NameError if no function is found.

f call_sysconfig_functions(self, name, *args, **kw) ...

Call all the named functions in the sysconfig modules, returning a list of the return values.

f sysconfig_install_vars(self, installer) ...

Return the folded results of calling the install_variables() functions.

f get_distribution(self, req) ...

This gets a distribution object, and installs the distribution if required.

f get_installer(self, distro, ep_group, ep_name) ...

See the source for more information.