##// END OF EJS Templates
add scripts for non-setuptools install of zmq.parallel
MinRK -
Show More
@@ -0,0 +1,16 b''
1 # encoding: utf-8
2
3 """"""
4
5 __docformat__ = "restructuredtext en"
6
7 #-------------------------------------------------------------------------------
8 # Copyright (C) 2008 The IPython Development Team
9 #
10 # Distributed under the terms of the BSD License. The full license is in
11 # the file COPYING, distributed as part of this software.
12 #-------------------------------------------------------------------------------
13
14 #-------------------------------------------------------------------------------
15 # Imports
16 #------------------------------------------------------------------------------- No newline at end of file
@@ -0,0 +1,18 b''
1 #!/usr/bin/env python
2 # encoding: utf-8
3
4 #-----------------------------------------------------------------------------
5 # Copyright (C) 2008-2009 The IPython Development Team
6 #
7 # Distributed under the terms of the BSD License. The full license is in
8 # the file COPYING, distributed as part of this software.
9 #-----------------------------------------------------------------------------
10
11 #-----------------------------------------------------------------------------
12 # Imports
13 #-----------------------------------------------------------------------------
14
15
16 from IPython.zmq.parallel.ipclusterapp import launch_new_instance
17
18 launch_new_instance()
@@ -0,0 +1,18 b''
1 #!/usr/bin/env python
2 # encoding: utf-8
3
4 #-----------------------------------------------------------------------------
5 # Copyright (C) 2008-2009 The IPython Development Team
6 #
7 # Distributed under the terms of the BSD License. The full license is in
8 # the file COPYING, distributed as part of this software.
9 #-----------------------------------------------------------------------------
10
11 #-----------------------------------------------------------------------------
12 # Imports
13 #-----------------------------------------------------------------------------
14
15
16 from IPython.zmq.parallel.ipcontrollerapp import launch_new_instance
17
18 launch_new_instance()
@@ -0,0 +1,20 b''
1 #!/usr/bin/env python
2 # encoding: utf-8
3
4 #-----------------------------------------------------------------------------
5 # Copyright (C) 2008-2009 The IPython Development Team
6 #
7 # Distributed under the terms of the BSD License. The full license is in
8 # the file COPYING, distributed as part of this software.
9 #-----------------------------------------------------------------------------
10
11 #-----------------------------------------------------------------------------
12 # Imports
13 #-----------------------------------------------------------------------------
14
15
16 from IPython.zmq.parallel.ipengineapp import launch_new_instance
17
18 launch_new_instance()
19
20
@@ -0,0 +1,20 b''
1 #!/usr/bin/env python
2 # encoding: utf-8
3
4 #-----------------------------------------------------------------------------
5 # Copyright (C) 2008-2009 The IPython Development Team
6 #
7 # Distributed under the terms of the BSD License. The full license is in
8 # the file COPYING, distributed as part of this software.
9 #-----------------------------------------------------------------------------
10
11 #-----------------------------------------------------------------------------
12 # Imports
13 #-----------------------------------------------------------------------------
14
15
16 from IPython.zmq.parallel.iploggerapp import launch_new_instance
17
18 launch_new_instance()
19
20
@@ -261,11 +261,12 b' def find_scripts():'
261 261 """
262 262 Find IPython's scripts.
263 263 """
264 # kernel_scripts = pjoin('IPython','kernel','scripts')
264 zmq_scripts = pjoin('IPython','zmq','parallel','scripts')
265 265 main_scripts = pjoin('IPython','scripts')
266 scripts = [# pjoin(kernel_scripts, 'ipengine'),
267 # pjoin(kernel_scripts, 'ipcontroller'),
268 # pjoin(kernel_scripts, 'ipcluster'),
266 scripts = [pjoin(zmq_scripts, 'ipenginez'),
267 pjoin(zmq_scripts, 'ipcontrollerz'),
268 pjoin(zmq_scripts, 'ipclusterz'),
269 pjoin(zmq_scripts, 'iploggerz'),
269 270 pjoin(main_scripts, 'ipython'),
270 271 pjoin(main_scripts, 'ipython-qtconsole'),
271 272 pjoin(main_scripts, 'pycolor'),
@@ -299,7 +300,8 b' def check_for_dependencies():'
299 300 from setupext.setupext import (
300 301 print_line, print_raw, print_status,
301 302 check_for_sphinx, check_for_pygments,
302 check_for_nose, check_for_pexpect
303 check_for_nose, check_for_pexpect,
304 check_for_pyzmq
303 305 )
304 306 print_line()
305 307 print_raw("BUILDING IPYTHON")
@@ -315,6 +317,7 b' def check_for_dependencies():'
315 317 check_for_pygments()
316 318 check_for_nose()
317 319 check_for_pexpect()
320 check_for_pyzmq()
318 321
319 322
320 323 def record_commit_info(pkg_dir, build_cmd=build_py):
@@ -56,16 +56,6 b' def check_for_ipython():'
56 56 print_status("IPython", IPython.__version__)
57 57 return True
58 58
59 def check_for_pyopenssl():
60 try:
61 import OpenSSL
62 except ImportError:
63 print_status('OpenSSL', "Not found (required if you want security in the parallel computing capabilities)")
64 return False
65 else:
66 print_status('OpenSSL', OpenSSL.__version__)
67 return True
68
69 59 def check_for_sphinx():
70 60 try:
71 61 import sphinx
@@ -136,4 +126,17 b' def check_for_simplejson():'
136 126 print_status("simplejson","yes")
137 127 return True
138 128
129 def check_for_pyzmq():
130 try:
131 import zmq
132 except ImportError:
133 print_status('pyzmq', "no (required for qtconsole and parallel computing capabilities)")
134 return False
135 else:
136 if zmq.__version__ < '2.0.10':
137 print_status('pyzmq', "no (require >= 2.0.10 for qtconsole and parallel computing capabilities)")
138
139 else:
140 print_status("pyzmq", zmq.__version__)
141 return True
139 142
General Comments 0
You need to be logged in to leave comments. Login now