(original) (raw)
changeset: 74480:eed73b16e71f branch: 3.2 parent: 74471:eb47af6e9e22 user: Jesus Cea jcea@jcea.es date: Wed Jan 18 03:58:42 2012 +0100 files: Lib/distutils/util.py Misc/NEWS description: Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name diff -r eb47af6e9e22 -r eed73b16e71f Lib/distutils/util.py --- a/Lib/distutils/util.py Wed Jan 18 00:21:11 2012 +0100 +++ b/Lib/distutils/util.py Wed Jan 18 03:58:42 2012 +0100 @@ -9,6 +9,7 @@ import imp import sys import string +import platform from distutils.errors import DistutilsPlatformError from distutils.dep_util import newer from distutils.spawn import spawn @@ -77,6 +78,7 @@ if release[0] >= "5": # SunOS 5 == Solaris 2 osname = "solaris" release = "%d.%s" % (int(release[0]) - 3, release[2:]) + machine += ".%s" % platform.architecture()[0] # fall through to standard osname-release-machine representation elif osname[:4] == "irix": # could be "irix64"! return "%s-%s" % (osname, release) diff -r eb47af6e9e22 -r eed73b16e71f Misc/NEWS --- a/Misc/NEWS Wed Jan 18 00:21:11 2012 +0100 +++ b/Misc/NEWS Wed Jan 18 03:58:42 2012 +0100 @@ -100,6 +100,9 @@ Library ------- +- Issue #13803: Under Solaris, distutils doesn't include bitness + in the directory name. + - Issue #13589: Fix some serialization primitives in the aifc module. Patch by Oleg Plakhotnyuk. /jcea@jcea.es