Show More
@@ -40,6 +40,7 b' def install():' | |||
|
40 | 40 | print ('To take full advantage of IPython, you need readline from:\n' |
|
41 | 41 | 'http://sourceforge.net/projects/uncpythontools') |
|
42 | 42 | |
|
43 | ipybase = '"'+prefix+r'\scripts\ipython"' | |
|
43 | 44 | # Create IPython entry ... |
|
44 | 45 | if not os.path.isdir(ip_dir): |
|
45 | 46 | os.mkdir(ip_dir) |
@@ -47,15 +48,15 b' def install():' | |||
|
47 | 48 | |
|
48 | 49 | # Create program shortcuts ... |
|
49 | 50 | f = ip_dir + r'\IPython.lnk' |
|
50 | a = prefix + r'\scripts\ipython' | |
|
51 | a = ipybase | |
|
51 | 52 | mkshortcut(python,'IPython',f,a) |
|
52 | 53 | |
|
53 | 54 | f = ip_dir + r'\pysh.lnk' |
|
54 | a = prefix + r'\scripts\ipython -p sh' | |
|
55 | a = ipybase+' -p sh' | |
|
55 | 56 | mkshortcut(python,'IPython command prompt mode',f,a) |
|
56 | 57 | |
|
57 | 58 | f = ip_dir + r'\scipy.lnk' |
|
58 |
a = |
|
|
59 | a = ipybase+' -pylab -p scipy' | |
|
59 | 60 | mkshortcut(python,'IPython scipy profile',f,a) |
|
60 | 61 | |
|
61 | 62 | # Create documentation shortcuts ... |
@@ -14,8 +14,10 b' def c(cmd):' | |||
|
14 | 14 | os.system(cmd) |
|
15 | 15 | |
|
16 | 16 | os.chdir('..') |
|
17 | distutils.dir_util.remove_tree('dist') | |
|
18 |
distutils.dir_util.remove_tree(' |
|
|
17 | if os.path.isdir('dist'): | |
|
18 | distutils.dir_util.remove_tree('dist') | |
|
19 | if os.path.isdir('ipykit'): | |
|
20 | distutils.dir_util.remove_tree('ipykit') | |
|
19 | 21 | |
|
20 | 22 | c("python exesetup.py py2exe") |
|
21 | 23 | os.rename('dist','ipykit') |
General Comments 0
You need to be logged in to leave comments.
Login now