From: Stefan Behnel Date: Wed, 17 Dec 2008 21:24:04 +0000 (+0100) Subject: give a hint on what went wrong on a failed Cython import from distutils X-Git-Tag: 0.11-beta~122 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=66c5a0afc5b4d52f9d1248cea8607125649ea7c2;p=cython.git give a hint on what went wrong on a failed Cython import from distutils --- diff --git a/Cython/Distutils/build_ext.py b/Cython/Distutils/build_ext.py index 8064956f..742ecd50 100644 --- a/Cython/Distutils/build_ext.py +++ b/Cython/Distutils/build_ext.py @@ -22,6 +22,7 @@ try: compile as cython_compile from Cython.Compiler.Errors import PyrexError except ImportError, e: + print "failed to import Cython: %s" % e PyrexError = None from distutils.command import build_ext as _build_ext