Current Path : /usr/lib/python2.7/dist-packages/twisted/ |
Current File : //usr/lib/python2.7/dist-packages/twisted/__init__.py |
# -*- test-case-name: twisted -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Twisted: The Framework Of Your Internet. """ # Ensure the user is running the version of python we require. import sys if not hasattr(sys, "version_info") or sys.version_info < (2, 4): raise RuntimeError("Twisted requires Python 2.4 or later.") del sys # Ensure compat gets imported from twisted.python import compat del compat # setup version from twisted._version import version __version__ = version.short()