From 6058e0e978dd068cba461a4a4de88832fba32882 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sat, 21 Jan 2023 15:46:46 -0500 Subject: [PATCH] scons: Missed some things in the Python2to3 update --- SConstruct | 1 + pkg/mac/SConscript | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index c8cf7fb5..ed796aa6 100644 --- a/SConstruct +++ b/SConstruct @@ -111,6 +111,7 @@ if platform == "darwin": return all(not lib.startswith(x) for x in system_prefixes) def get_deps_for(source): deps = subprocess.check_output(['otool', '-L', source]).splitlines()[1:] + deps = map(lambda s: s.decode('utf-8'), deps) deps = list(map(str.strip, deps)) deps = list(filter(is_user_lib, deps)) deps = [x.split()[0] for x in deps] diff --git a/pkg/mac/SConscript b/pkg/mac/SConscript index 360f84cc..9d9c7078 100644 --- a/pkg/mac/SConscript +++ b/pkg/mac/SConscript @@ -2,7 +2,7 @@ Import("env platform") if str(platform) != "darwin": - print "Error: Building for", str(platform), "but trying to create a Mac install package" + print("Error: Building for", str(platform), "but trying to create a Mac install package") env.Command('OBoE.dmg', "#build/Blades of Exile", action='hdiutil create -fs HFS+ -volname "Blades of Exile" -srcfolder $SOURCE $TARGET')