~justin-fathomdb/nova/justinsb-openstack-api-volumes

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/twisted/__init__.py

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- test-case-name: twisted -*-
 
2
 
 
3
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
 
4
# See LICENSE for details.
 
5
 
 
6
 
 
7
"""
 
8
Twisted: The Framework Of Your Internet.
 
9
"""
 
10
 
 
11
# Ensure the user is running the version of python we require.
 
12
import sys
 
13
if not hasattr(sys, "version_info") or sys.version_info < (2,3):
 
14
    raise RuntimeError("Twisted requires Python 2.3 or later.")
 
15
del sys
 
16
 
 
17
# Ensure compat gets imported
 
18
from twisted.python import compat
 
19
del compat
 
20
 
 
21
# setup version
 
22
from twisted._version import version
 
23
__version__ = version.short()
 
24