##// END OF EJS Templates
Fixing command line options and help strings to use new syntax....
Fixing command line options and help strings to use new syntax. * Found a few places we had missed in the code and docs.

File last commit:

r4028:71e6a4a0
r4219:a7af0130
Show More
__init__.py
25 lines | 934 B | text/x-python | PythonLexer
#-----------------------------------------------------------------------------
# Copyright (C) 2010 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING.txt, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Verify zmq version dependency >= 2.1.4
#-----------------------------------------------------------------------------
minimum_pyzmq_version = "2.1.4"
try:
import zmq
except ImportError:
raise ImportError("IPython.zmq requires pyzmq >= %s"%minimum_pyzmq_version)
pyzmq_version = zmq.__version__
if pyzmq_version < minimum_pyzmq_version:
raise ImportError("IPython.zmq requires pyzmq >= %s, but you have %s"%(
minimum_pyzmq_version, pyzmq_version))
del pyzmq_version