<s> """<STR_LIT>""" <EOL> def _checkRequirements ( ) : <EOL> import sys <EOL> version = getattr ( sys , "<STR_LIT>" , ( <NUM_LIT:0> , ) ) <EOL> if version < ( <NUM_LIT:2> , <NUM_LIT:7> ) : <EOL> raise ImportError ( "<STR_LIT>" ) <EOL> elif version >= ( <NUM_LIT:3> , <NUM_LIT:0> ) and version < ( <NUM_LIT:3> , <NUM_LIT:3> ) : <EOL> raise ImportError ( "<STR_LIT>" ) <EOL> if version < ( <NUM_LIT:3> , <NUM_LIT:0> ) : <EOL> required = "<STR_LIT>" <EOL> else : <EOL> required = "<STR_LIT>" <EOL> if ( "<STR_LIT>" in sys . modules and <EOL> getattr ( sys . modules [ "<STR_LIT>" ] , <EOL> "<STR_LIT>" , None ) is not None ) : <EOL> return <EOL> required = "<STR_LIT>" % ( required , ) <EOL> try : <EOL> from zope import interface <EOL> except ImportError : <EOL> raise ImportError ( required + "<STR_LIT>" ) <EOL> except : <EOL> raise ImportError ( required + "<STR_LIT:.>" ) <EOL> try : <EOL> class IDummy ( interface . Interface ) : <EOL> pass <EOL> @ interface . implementer ( IDummy ) <EOL> class Dummy ( object ) : <EOL> pass <EOL> except TypeError : <EOL> raise ImportError ( required + "<STR_LIT:.>" ) <EOL> _checkRequirements ( ) <EOL> from twisted . python import compat <EOL> from twisted . _version import version <EOL> __version__ = version . short ( ) <EOL> del compat </s>
