assert py.__version__ to be 2.0 at least to avoid other weird errors

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-10-12 21:59:15 +02:00
parent 22282eedb9
commit 270deb015e
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
import py
assert py.__version__.split(".")[:2] >= ['2', '0'], ("installation problem: "
"%s is too old, remove or upgrade 'py'" % (py.__version__))
import sys, os
default_plugins = (