Skip to content

Commit 7e1889e

Browse files
committed
merged in master
1 parent cb87bdb commit 7e1889e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bindings/py/cpp_src/bindings/engine/py_Engine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ namespace htm_ext
395395
.value("BINARY", SerializableFormat::BINARY)
396396
.value("PORTABLE", SerializableFormat::PORTABLE)
397397
.value("JSON", SerializableFormat::JSON)
398-
.value("XML", ::SerializableFormat::XML)
398+
.value("XML", SerializableFormat::XML)
399399
.export_values();
400400
// NOTE: Registered python regions will be serialized in BINARY (i.e. pickle) regardless of the format specified.
401401

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ def isMSVC_installed(ver):
253253
return true if ver is found.
254254
"""
255255
vswhere = "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vswhere.exe"
256+
if not os.path.isfile(vswhere):
257+
raise Exception("Visual Studio not installed.")
256258
output = subprocess.check_output([vswhere, "-products", "*", "-legacy", "-prerelease", "-format", "json"], universal_newlines=True)
257259
data = json.loads(output);
258260
for vs in data:

0 commit comments

Comments
 (0)