rez.wrapper#

class rez.wrapper.Wrapper#

Bases: object

A Wrapper.

A wrapper is a tool created by a Suite. Wrappers reside in the ./bin directory of a suite. They are executable yaml files that are run with the internal ‘_rez-forward’ tool.

When a wrapper is executed, it runs the associated tool within the matching context in the suite.

__init__(filepath)#

Create a wrapper given its executable file.

suite()#
run(*args)#

Invoke the wrapped script.

Returns:

Return code of the command, or 0 if the command is not run.

print_about()#

Print an info message about the tool.

print_package_versions()#

Print a list of versions of the package this tool comes from, and indicate which version this tool is from.

peek()#