From aff9c9dc4899ed5a9414a3df7da9d21ff2ea9483 Mon Sep 17 00:00:00 2001 From: mio Date: Tue, 5 Oct 2021 13:48:26 +0200 Subject: [PATCH] Clean debug print and make it compatible with python3.5 --- bindings/python/setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 75bd8ae7..b42ede8a 100755 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -123,8 +123,7 @@ def build_libraries(): if not os.path.exists(BUILD_DIR): os.mkdir(BUILD_DIR) - subprocess.call(['cmake', '-B', BUILD_DIR, '-G', "Visual Studio 16 2019", "-A", plat, f"-DCMAKE_BUILD_TYPE={conf}"]) - print(BUILD_DIR) + subprocess.call(['cmake', '-B', BUILD_DIR, '-G', "Visual Studio 16 2019", "-A", plat, "-DCMAKE_BUILD_TYPE=" + conf]) subprocess.call(['msbuild', 'unicorn.sln', '-m', '-p:Platform=' + plat, '-p:Configuration=' + conf], cwd=BUILD_DIR) obj_dir = os.path.join(BUILD_DIR, conf)