gluetool.tool module

Heart of the “gluetool” script. Referred to by setuptools’ entry point.

class gluetool.tool.Gluetool[source]

Bases: object

_command_name
_deduce_pipeline_desc(argv, modules)[source]

Split command-line arguments, left by gluetool, into a pipeline description, splitting them by modules and their options.

Parameters:
  • argv (list) – Remainder of sys.argv after removing gluetool‘s own options.
  • modules (list(text)) – List of known module names.
Returns:

Pipeline description in a form of a list of gluetool.glue.PipelineStepModule instances.

_exit_logger

Return logger for use when finishing the gluetool pipeline.

_handle_failure(failure)[source]
_handle_failure_core(failure)[source]
_quit(exit_status)[source]

Log exit status and quit.

_version
check_options(*args, **kwargs)[source]
log_cmdline(argv, pipeline_desc)[source]
main()[source]
run_pipeline(*args, **kwargs)[source]
setup(*args, **kwargs)[source]
gluetool.tool.handle_exc(func)[source]
gluetool.tool.main()[source]