Changeset 997 for pykota/trunk/setup.py

Show
Ignore:
Timestamp:
05/17/03 18:32:30 (21 years ago)
Author:
jalet
Message:

Also outputs the original import error message.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/setup.py

    r996 r997  
    2323# 
    2424# $Log$ 
     25# Revision 1.15  2003/05/17 16:32:30  jalet 
     26# Also outputs the original import error message. 
     27# 
    2528# Revision 1.14  2003/05/17 16:31:38  jalet 
    2629# Dies gracefully if DistUtils is not present. 
     
    8184try : 
    8285    from distutils.core import setup 
    83 except ImportError :     
     86except ImportError, msg :     
     87    sys.stderr.write("%s\n" % msg) 
    8488    sys.stderr.write("You need the DistUtils Python module.\nunder Debian, you may have to install the python-dev package.\nOf course, YMMV.\n") 
    8589    sys.exit(-1)