##// END OF EJS Templates
Fix problem with windows installer script: html docs were not found.
Fernando Perez -
Show More
@@ -46,6 +46,15 b' def make_color_table(in_class):'
46 for name,value in color_templates:
46 for name,value in color_templates:
47 setattr(in_class,name,in_class._base % value)
47 setattr(in_class,name,in_class._base % value)
48
48
49 # Automatically add Blink versions of the above colors. This
50 # just involves setting the attribute field (before the first
51 # semicolon) to '5'.
52 # Note: this is a little easter egg contributed by Peter Wang from
53 # Enthought at the Scipy2008 sprint :)
54 value = '5'+value[1:]
55 setattr(in_class,"Blink"+name,in_class._base % value)
56
57
49 class TermColors:
58 class TermColors:
50 """Color escape sequences.
59 """Color escape sequences.
51
60
@@ -40,7 +40,7 b' def install():'
40 print ('To take full advantage of IPython, you need readline from:\n'
40 print ('To take full advantage of IPython, you need readline from:\n'
41 'http://sourceforge.net/projects/uncpythontools')
41 'http://sourceforge.net/projects/uncpythontools')
42
42
43 ipybase = '"'+prefix+r'\scripts\ipython"'
43 ipybase = '"' + prefix + r'\scripts\ipython"'
44 # Create IPython entry ...
44 # Create IPython entry ...
45 if not os.path.isdir(ip_dir):
45 if not os.path.isdir(ip_dir):
46 os.mkdir(ip_dir)
46 os.mkdir(ip_dir)
@@ -59,12 +59,12 b' def install():'
59 a = ipybase+' -pylab -p scipy'
59 a = ipybase+' -pylab -p scipy'
60 mkshortcut(python,'IPython scipy profile',f,a)
60 mkshortcut(python,'IPython scipy profile',f,a)
61
61
62 # Create documentation shortcuts ...
62 # Create documentation shortcuts ...
63 t = prefix + r'\share\doc\ipython\manual\ipython.pdf'
63 t = prefix + r'\share\doc\ipython\manual\ipython.pdf'
64 f = ip_dir + r'\Manual in PDF.lnk'
64 f = ip_dir + r'\Manual in PDF.lnk'
65 mkshortcut(t,r'IPython Manual - PDF-Format',f)
65 mkshortcut(t,r'IPython Manual - PDF-Format',f)
66
66
67 t = prefix + r'\share\doc\ipython\manual\ipython.html'
67 t = prefix + r'\share\doc\ipython\manual\html\index.html'
68 f = ip_dir + r'\Manual in HTML.lnk'
68 f = ip_dir + r'\Manual in HTML.lnk'
69 mkshortcut(t,'IPython Manual - HTML-Format',f)
69 mkshortcut(t,'IPython Manual - HTML-Format',f)
70
70
General Comments 0
You need to be logged in to leave comments. Login now