##// END OF EJS Templates
use pyzmq tools where appropriate...
use pyzmq tools where appropriate ZMQStream is the right object to use for event-driven handling of messages, but instead we chose to rewrite half of it in KernelManager. This removes most of the duplicate code, in favor of using ZMQStream. also use the pyzmq install() function for using pyzmq with tornado, instead of manually pasting its contents in notebook app.

File last commit:

r4924:113dc5b1
r5377:4b348626
Show More
setup.py
11 lines | 200 B | text/x-python | PythonLexer
Fernando Perez
Fix setup.py script to be executable (other tools expect this)
r4924 #!/usr/bin/env python
Thomas Kluyver
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
r4765 """This calls the setup routine for Python 2 or 3 as required."""
Fernando Perez
Inform user at install time of minimal python requirements if not met....
r2493
import sys
Thomas Kluyver
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
r4765 if sys.version_info[0] >= 3:
from setup3 import main
Ville M. Vainio
more crlf
r1033 else:
Thomas Kluyver
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
r4765 from setup2 import main
Fernando Perez
Move cleanup to main setup.py, where it belongs....
r2460
Thomas Kluyver
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
r4765 main()