Show More
@@ -0,0 +1,9 b'' | |||
|
1 | Functions Removed in 6.x Development cycle | |
|
2 | ------------------------------------------ | |
|
3 | ||
|
4 | The following functions have been removed in the | |
|
5 | development cycle marked for the development cycle | |
|
6 | marked for Milestone 6.0. | |
|
7 | ||
|
8 | * is_cmd_found | |
|
9 | * pycmd2argv |
@@ -37,12 +37,8 b' def find_cmd(cmd):' | |||
|
37 | 37 | is a risk you will find the wrong one. Instead find those using the |
|
38 | 38 | following code and looking for the application itself:: |
|
39 | 39 | |
|
40 | from IPython.utils.path import get_ipython_module_path | |
|
41 | from IPython.utils.process import pycmd2argv | |
|
42 | argv = pycmd2argv(get_ipython_module_path('IPython.terminal.ipapp')) | |
|
43 | ||
|
44 | Note, The code for pycmd2argv has been removed now as it was not used | |
|
45 | anywhere. get_ipython_module_path should give us that same result. | |
|
40 | import sys | |
|
41 | argv = [sys.executable, '-m', 'IPython.terminal'] | |
|
46 | 42 | |
|
47 | 43 | Parameters |
|
48 | 44 | ---------- |
General Comments 0
You need to be logged in to leave comments.
Login now