summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-01-18 05:04:49 +0100
committerJesus Cea <jcea@jcea.es>2012-01-18 05:04:49 +0100
commit989fd55dddc6638eab5073ab0adcc9df0ceac154 (patch)
tree73aa8d9113cc7828f1cb298bd2851bc7e799ca00
parent026f3483351ce08ffa47f9143aa17d7da02f10ec (diff)
downloadpython-setuptools-git-989fd55dddc6638eab5073ab0adcc9df0ceac154.tar.gz
And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
-rw-r--r--util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.py b/util.py
index 416deec7..bce84027 100644
--- a/util.py
+++ b/util.py
@@ -81,7 +81,7 @@ def get_platform ():
# bootstrap problem. We use a dict to get an error
# if some suspicious happens.
bitness = {2147483647:"32bit", 9223372036854775807:"64bit"}
- machine += ".%s" % bitness[sys.maxint]
+ machine += ".%s" % bitness[sys.maxsize]
# fall through to standard osname-release-machine representation
elif osname[:4] == "irix": # could be "irix64"!
return "%s-%s" % (osname, release)