@cached_property<EOL><INDENT>def rez_bin_path(self):<DEDENT>
binpath = None<EOL>if sys.argv and sys.argv[<NUM_LIT:0>]:<EOL><INDENT>executable = sys.argv[<NUM_LIT:0>]<EOL>path = which("<STR_LIT>", env={"<STR_LIT>":os.path.dirname(executable),<EOL>"<STR_LIT>":os.environ.get("<STR_LIT>",<EOL>"<STR_LIT>")})<EOL>binpath = os.path.dirname(path) if path else None<EOL><DEDENT>if not binpath:<EOL><INDENT>path = which("<STR_LIT>")<EOL>if path:<EOL><INDENT>binpath = os.path.dirname(path)<EOL><DEDENT><DEDENT>if binpath:<EOL><INDENT>validation_file = os.path.join(binpath, "<STR_LIT>")<EOL>if os.path.exists(validation_file):<EOL><INDENT>return os.path.realpath(binpath)<EOL><DEDENT><DEDENT>return None<EOL>
Get path containing rez binaries, or None if no binaries are
        available, or Rez is not a production install.