More information about distutils on Solaris in case we run into this again
This commit is contained in:
parent
effdba95de
commit
4f1f8e89c9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue