| 1 | --- setup.py.orig 2011-08-03 22:08:15.000000000 +0200 |
| 2 | +++ setup.py 2012-08-03 11:17:49.000000000 +0200 |
| 3 | @@ -21,7 +21,9 @@ |
| 4 | if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'): |
| 5 | # XCode 4.0 dropped support for ppc architecture, which is hardcoded in |
| 6 | # distutils.sysconfig |
| 7 | - version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines()[0] |
| 8 | + commandResult = runcmd(['/usr/bin/xcodebuild', '-version'], {}) |
| 9 | + print(commandResult[0].splitlines()) |
| 10 | + version = commandResult[0].splitlines()[0] |
| 11 | # Also parse only first digit, because 3.2.1 can't be parsed nicely |
| 12 | if (version.startswith('Xcode') and |
| 13 | StrictVersion(version.split()[1]) >= StrictVersion('4.0')): |