More information about distutils on Solaris in case we run into this again

This commit is contained in:
Toshio Kuratomi 2015-01-22 21:55:27 -08:00
parent effdba95de
commit 4f1f8e89c9

View file

@ -107,6 +107,9 @@ import time
import string
# The distutils module is not shipped with SUNWPython on Solaris.
# It's in the SUNWPython-devel package which also contains development files
# that don't belong on production boxes. Since our Solaris code doesn't
# depend on LooseVersion, do not import it on Solaris.
if platform.system() != 'SunOS':
from distutils.version import LooseVersion