##// END OF EJS Templates
Update version requirement to 2.5, since that's what we're using anyway....
Fernando Perez -
Show More
@@ -1,64 +1,63 b''
1 1 #!/usr/bin/env python
2 2 # encoding: utf-8
3 3 """
4 4 IPython.
5 5
6 6 IPython is a set of tools for interactive and exploratory computing in Python.
7 7 """
8 8
9 9 #-----------------------------------------------------------------------------
10 10 # Copyright (C) 2008-2009 The IPython Development Team
11 11 #
12 12 # Distributed under the terms of the BSD License. The full license is in
13 13 # the file COPYING, distributed as part of this software.
14 14 #-----------------------------------------------------------------------------
15 15
16 16 #-----------------------------------------------------------------------------
17 17 # Imports
18 18 #-----------------------------------------------------------------------------
19 19
20 20 import os
21 21 import sys
22 22 from IPython.core import release
23 23
24 24 #-----------------------------------------------------------------------------
25 25 # Setup everything
26 26 #-----------------------------------------------------------------------------
27 27
28
29 if sys.version[0:3] < '2.4':
30 raise ImportError('Python Version 2.4 or above is required for IPython.')
28 if sys.version[0:3] < '2.5':
29 raise ImportError('Python Version 2.5 or above is required for IPython.')
31 30
32 31
33 32 # Make it easy to import extensions - they are always directly on pythonpath.
34 33 # Therefore, non-IPython modules can be added to extensions directory
35 34 sys.path.append(os.path.join(os.path.dirname(__file__), "extensions"))
36 35
37 36 #-----------------------------------------------------------------------------
38 37 # Setup the top level names
39 38 #-----------------------------------------------------------------------------
40 39
41 40 # In some cases, these are causing circular imports.
42 41 from IPython.core.iplib import InteractiveShell
43 42 from IPython.core.embed import embed
44 43 from IPython.core.error import TryNext
45 44 from IPython.testing import test
46 45
47 46 from IPython.lib import (
48 47 enable_wx, disable_wx,
49 48 enable_gtk, disable_gtk,
50 49 enable_qt4, disable_qt4,
51 50 enable_tk, disable_tk,
52 51 set_inputhook, clear_inputhook,
53 52 current_gui, spin,
54 53 appstart_qt4, appstart_wx,
55 54 appstart_gtk, appstart_tk
56 55 )
57 56
58 57 # Release data
59 58 __author__ = ''
60 59 for author, email in release.authors.values():
61 60 __author__ += author + ' <' + email + '>\n'
62 61 __license__ = release.license
63 62 __version__ = release.version
64 63 __revision__ = release.revision
General Comments 0
You need to be logged in to leave comments. Login now