diff --git a/build.py b/build.py index 6b58072f68..0ebe2ecdc0 100644 --- a/build.py +++ b/build.py @@ -99,7 +99,7 @@ def GetVisualStudioCompilerAndVersion(): # VisualStudioVersion environment variable should be set by the # Visual Studio Command Prompt. match = re.search( - "(\d+).(\d+)", + r"(\d+)\.(\d+)", os.environ.get("VisualStudioVersion", "")) if match: return (msvcCompiler, tuple(int(v) for v in match.groups())) diff --git a/plugin/al/usdtransaction/CMakeLists.txt b/plugin/al/usdtransaction/CMakeLists.txt index f11f042111..c6894cf523 100644 --- a/plugin/al/usdtransaction/CMakeLists.txt +++ b/plugin/al/usdtransaction/CMakeLists.txt @@ -34,7 +34,6 @@ foreach(INPUT_FILE ${PY_INIT_FILES}) get_filename_component(OUTPUT_PATH ${OUTPUT_FILE} DIRECTORY) install(FILES ${INPUT_FILE} # .py files - ${INPUT_FILE}c # .pyc files DESTINATION ${OUTPUT_PATH} ) endforeach()