##// END OF EJS Templates
relax minimum_pyzmq_version, since EPD has 2.0.10-1 alias of 2.0.10.1
MinRK -
Show More
@@ -1,25 +1,25 b''
1 1 #-----------------------------------------------------------------------------
2 2 # Copyright (C) 2010 The IPython Development Team
3 3 #
4 4 # Distributed under the terms of the BSD License. The full license is in
5 5 # the file COPYING.txt, distributed as part of this software.
6 6 #-----------------------------------------------------------------------------
7 7
8 8 #-----------------------------------------------------------------------------
9 # Verify zmq version dependency >= 2.0.10.1
9 # Verify zmq version dependency >= 2.0.10-1
10 10 #-----------------------------------------------------------------------------
11 11
12 minimum_pyzmq_version = "2.0.10.1"
12 minimum_pyzmq_version = "2.0.10-1"
13 13
14 14 try:
15 15 import zmq
16 16 except ImportError:
17 17 raise ImportError("IPython.zmq requires pyzmq >= %s"%minimum_pyzmq_version)
18 18
19 19 pyzmq_version = zmq.__version__
20 20
21 21 if pyzmq_version < minimum_pyzmq_version:
22 22 raise ImportError("IPython.zmq requires pyzmq >= %s, but you have %s"%(
23 23 minimum_pyzmq_version, pyzmq_version))
24 24
25 25 del pyzmq_version
General Comments 0
You need to be logged in to leave comments. Login now