Author: SethThompson
Date: 2008-02-22 23:55:00 -0500 (Fri, 22 Feb 2008)
New Revision: 970

Modified:
   trunk/pysoy/setup.py
Log:
I added a pyrex version check which fails elegantly with useful error message


Modified: trunk/pysoy/setup.py
===================================================================
--- trunk/pysoy/setup.py        2008-02-23 04:42:22 UTC (rev 969)
+++ trunk/pysoy/setup.py        2008-02-23 04:55:00 UTC (rev 970)
@@ -116,6 +116,8 @@
   import os
   from stat import *
   from Pyrex.Compiler import Main
+  if Main.Version.version < '0.9.6.4':
+    raise SystemError('Pyrex version 0.9.6.4 or above required, aborting.')
 
   options = Main.CompilationOptions(defaults=Main.default_options, 
                                     include_path=include_path)

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to