parameters: (vs_version, arch)
return_statement: return get_environment_from_batch_command([vsvarsall, arch])
docstring: Returns the env object for VS building environment.
  
      The vs_version can be strings like "12.0" (e.g. VS2013), the arch has to
      be one of "x86", "amd64", "arm", "x86_amd64", "x86_arm", "amd64_x86",
      "amd64_arm", e.g. the args passed to vcvarsall.bat.
docstring_summary: Returns the env object for VS building environment.
docstring_tokens: Returns the env object for VS building environment .
function: def get_vs_env(vs_version, arch):
      """
      Returns the env object for VS building environment.
  
      The vs_version can be strings like "12.0" (e.g. VS2013), the arch has to
      be one of "x86", "amd64", "arm", "x86_amd64", "x86_arm", "amd64_x86",
      "amd64_arm", e.g. the args passed to vcvarsall.bat.
      """
      vsvarsall = "C:\\Program Files (x86)\\Microsoft Visual Studio {0}" \
                  "\\VC\\vcvarsall.bat".format(vs_version)
  
      return get_environment_from_batch_command([vsvarsall, arch])
function_tokens: def get_vs_env ( vs_version , arch ) : vsvarsall = "C:\\Program Files (x86)\\Microsoft Visual Studio {0}" "\\VC\\vcvarsall.bat" . format ( vs_version ) return get_environment_from_batch_command ( [ vsvarsall , arch ] )