OLD | NEW |
| (Empty) |
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 | |
OLD | NEW |