@classmethod<EOL><INDENT>def get_standard_vars(cls, context, variant, build_type, install,<EOL>build_path, install_path=None):<DEDENT>
from rez.config import config<EOL>package = variant.parent<EOL>variant_requires = map(str, variant.variant_requires)<EOL>if variant.index is None:<EOL><INDENT>variant_subpath = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>variant_subpath = variant._non_shortlinked_subpath<EOL><DEDENT>vars_ = {<EOL>'<STR_LIT>': <NUM_LIT:1>,<EOL>'<STR_LIT>': build_path,<EOL>'<STR_LIT>': package.config.build_thread_count,<EOL>'<STR_LIT>': variant.index or <NUM_LIT:0>,<EOL>'<STR_LIT>': '<STR_LIT:U+0020>'.join(variant_requires),<EOL>'<STR_LIT>': variant_subpath,<EOL>'<STR_LIT>': str(package.version),<EOL>'<STR_LIT>': package.name,<EOL>'<STR_LIT>': (package.description or '<STR_LIT>').strip(),<EOL>'<STR_LIT>': package.filepath,<EOL>'<STR_LIT>': os.path.dirname(package.filepath),<EOL>'<STR_LIT>': '<STR_LIT:U+0020>'.join(<EOL>str(x) for x in context.requested_packages(True)<EOL>),<EOL>'<STR_LIT>': '<STR_LIT:U+0020>'.join(<EOL>x.name for x in context.requested_packages(True)<EOL>),<EOL>'<STR_LIT>': build_type.name,<EOL>'<STR_LIT>': <NUM_LIT:1> if install else <NUM_LIT:0>,<EOL>}<EOL>if install_path:<EOL><INDENT>vars_['<STR_LIT>'] = install_path<EOL><DEDENT>if config.rez_1_environment_variables andnot config.disable_rez_1_compatibility andbuild_type == BuildType.central:<EOL><INDENT>vars_['<STR_LIT>'] = <NUM_LIT:1><EOL><DEDENT>return vars_<EOL>
Returns a standard set of environment variables that can be set
        for the build system to use