Show More
@@ -51,26 +51,27 b' def install():' | |||||
51 |
|
51 | |||
52 | # Now move onto setting the Start Menu up |
|
52 | # Now move onto setting the Start Menu up | |
53 | ipybase = pjoin(scripts, 'ipython') |
|
53 | ipybase = pjoin(scripts, 'ipython') | |
|
54 | workdir = "%HOMEDRIVE%%HOMEPATH%" | |||
54 |
|
55 | |||
55 | link = pjoin(ip_start_menu, 'IPython.lnk') |
|
56 | link = pjoin(ip_start_menu, 'IPython.lnk') | |
56 | cmd = '"%s"' % ipybase |
|
57 | cmd = '"%s"' % ipybase | |
57 | mkshortcut(python,'IPython',link,cmd) |
|
58 | mkshortcut(python, 'IPython', link, cmd, workdir) | |
58 |
|
59 | |||
59 | link = pjoin(ip_start_menu, 'pysh.lnk') |
|
60 | link = pjoin(ip_start_menu, 'pysh.lnk') | |
60 | cmd = '"%s" -p sh' % ipybase |
|
61 | cmd = '"%s" -p sh' % ipybase | |
61 | mkshortcut(python,'IPython (command prompt mode)',link,cmd) |
|
62 | mkshortcut(python, 'IPython (command prompt mode)', link, cmd, workdir) | |
62 |
|
63 | |||
63 | link = pjoin(ip_start_menu, 'scipy.lnk') |
|
64 | link = pjoin(ip_start_menu, 'scipy.lnk') | |
64 | cmd = '"%s" -p scipy' % ipybase |
|
65 | cmd = '"%s" -p scipy' % ipybase | |
65 | mkshortcut(python,'IPython (scipy profile)',link,cmd) |
|
66 | mkshortcut(python, 'IPython (scipy profile)', link, cmd, workdir) | |
66 |
|
67 | |||
67 | link = pjoin(ip_start_menu, 'ipcontroller.lnk') |
|
68 | link = pjoin(ip_start_menu, 'ipcontroller.lnk') | |
68 | cmd = '"%s" -xy' % pjoin(scripts, 'ipcontroller') |
|
69 | cmd = '"%s" -xy' % pjoin(scripts, 'ipcontroller') | |
69 | mkshortcut(python,'IPython controller',link,cmd) |
|
70 | mkshortcut(python, 'IPython controller', link, cmd, workdir) | |
70 |
|
71 | |||
71 | link = pjoin(ip_start_menu, 'ipengine.lnk') |
|
72 | link = pjoin(ip_start_menu, 'ipengine.lnk') | |
72 | cmd = '"%s"' % pjoin(scripts, 'ipengine') |
|
73 | cmd = '"%s"' % pjoin(scripts, 'ipengine') | |
73 | mkshortcut(python,'IPython engine',link,cmd) |
|
74 | mkshortcut(python, 'IPython engine', link, cmd, workdir) | |
74 |
|
75 | |||
75 | # Create documentation shortcuts ... |
|
76 | # Create documentation shortcuts ... | |
76 | t = prefix + r'\share\doc\ipython\manual\ipython.pdf' |
|
77 | t = prefix + r'\share\doc\ipython\manual\ipython.pdf' |
General Comments 0
You need to be logged in to leave comments.
Login now