From 56358d5313880a8ac530231399c24441203af626 Mon Sep 17 00:00:00 2001 From: Dustin Farris Date: Fri, 31 Jan 2014 17:34:02 -0500 Subject: [PATCH] Convert xcode_dev to unicode before building sysroot --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 04c2d03a0..7605ee5a3 100644 --- a/setup.py +++ b/setup.py @@ -274,7 +274,7 @@ def determine_base_flags(): sdk_mac_ver = '.'.join(_platform.mac_ver()[0].split('.')[:2]) print('Xcode detected at {}, and using MacOSX{} sdk'.format( xcode_dev, sdk_mac_ver)) - sysroot = join(xcode_dev, + sysroot = join(xcode_dev.decode('utf-8'), 'Platforms/MacOSX.platform/Developer/SDKs', 'MacOSX{}.sdk'.format(sdk_mac_ver), 'System/Library/Frameworks')