__init__.py
32 lines
| 1.1 KiB
| text/x-python
|
PythonLexer
MinRK
|
r3644 | """The IPython ZMQ-based parallel computing interface.""" | ||
#----------------------------------------------------------------------------- | ||||
# Copyright (C) 2011 The IPython Development Team | ||||
# | ||||
# Distributed under the terms of the BSD License. The full license is in | ||||
# the file COPYING, distributed as part of this software. | ||||
#----------------------------------------------------------------------------- | ||||
#----------------------------------------------------------------------------- | ||||
# Imports | ||||
#----------------------------------------------------------------------------- | ||||
MinRK
|
r3779 | import os | ||
MinRK
|
r3661 | import zmq | ||
MinRK
|
r3779 | |||
if os.name == 'nt': | ||||
if zmq.__version__ < '2.1dev': | ||||
raise ImportError("On Windows, IPython.parallel depends on bugfixes only " | ||||
"in current git master of pyzmq, you appear to have %s"%zmq.__version__) | ||||
elif zmq.__version__ < '2.1.4': | ||||
MinRK
|
r3673 | raise ImportError("IPython.parallel requires pyzmq/0MQ >= 2.1.4, you appear to have %s"%zmq.__version__) | ||
MinRK
|
r3661 | |||
MinRK
|
r3666 | from IPython.utils.pickleutil import Reference | ||
MinRK
|
r3665 | |||
MinRK
|
r3673 | from .client.asyncresult import * | ||
from .client.client import Client | ||||
from .client.remotefunction import * | ||||
from .client.view import * | ||||
from .controller.dependency import * | ||||
MinRK
|
r3665 | |||