scons: Missed some things in the Python2to3 update
This commit is contained in:
@@ -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]
|
||||
|
@@ -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')
|
||||
|
Reference in New Issue
Block a user