Show More
@@ -56,6 +56,7 b' from distutils.spawn import spawn, find_' | |||
|
56 | 56 | from distutils.ccompiler import new_compiler |
|
57 | 57 | from distutils.errors import CCompilerError |
|
58 | 58 | from distutils.sysconfig import get_python_inc |
|
59 | from distutils.version import StrictVersion | |
|
59 | 60 | |
|
60 | 61 | scripts = ['hg'] |
|
61 | 62 | if os.name == 'nt': |
@@ -379,7 +380,7 b" if sys.platform == 'darwin' and os.path." | |||
|
379 | 380 | version = runcmd(['/usr/bin/xcodebuild', '-version'], {}).splitlines()[0] |
|
380 | 381 | # Also parse only first digit, because 3.2.1 can't be parsed nicely |
|
381 | 382 | if (version.startswith('Xcode') and |
|
382 |
|
|
|
383 | StrictVersion(version.split()[1]) >= StrictVersion('4.0')): | |
|
383 | 384 | os.environ['ARCHFLAGS'] = '-arch i386 -arch x86_64' |
|
384 | 385 | |
|
385 | 386 | setup(name='mercurial', |
General Comments 0
You need to be logged in to leave comments.
Login now