From f2e89671d0a78daab377b1c3f0f11fded374ae1c Mon Sep 17 00:00:00 2001 From: hpk Date: Wed, 14 Feb 2007 13:15:20 +0100 Subject: [PATCH] [svn r38810] being yet more ignorant about build problems of c-extensions --HG-- branch : trunk --- py/misc/_dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/misc/_dist.py b/py/misc/_dist.py index dc07bee95..65709cea2 100644 --- a/py/misc/_dist.py +++ b/py/misc/_dist.py @@ -138,7 +138,7 @@ def setup(pkg, **kw): print "precompiling greenlet module" try: x = py.magic.greenlet() - except ImportError: + except (RuntimeError, ImportError): print "could not precompile greenlet module, skipping" params = Params(pkg)