Show More
@@ -46,6 +46,15 b' def make_color_table(in_class):' | |||
|
46 | 46 | for name,value in color_templates: |
|
47 | 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 | 58 | class TermColors: |
|
50 | 59 | """Color escape sequences. |
|
51 | 60 |
@@ -40,7 +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 | ipybase = '"' + prefix + r'\scripts\ipython"' | |
|
44 | 44 | # Create IPython entry ... |
|
45 | 45 | if not os.path.isdir(ip_dir): |
|
46 | 46 | os.mkdir(ip_dir) |
@@ -59,12 +59,12 b' def install():' | |||
|
59 | 59 | a = ipybase+' -pylab -p scipy' |
|
60 | 60 | mkshortcut(python,'IPython scipy profile',f,a) |
|
61 | 61 | |
|
62 |
# Create documentation shortcuts ... |
|
|
62 | # Create documentation shortcuts ... | |
|
63 | 63 | t = prefix + r'\share\doc\ipython\manual\ipython.pdf' |
|
64 | 64 | f = ip_dir + r'\Manual in PDF.lnk' |
|
65 | 65 | mkshortcut(t,r'IPython Manual - PDF-Format',f) |
|
66 | 66 | |
|
67 |
t = prefix + r'\share\doc\ipython\manual\i |
|
|
67 | t = prefix + r'\share\doc\ipython\manual\html\index.html' | |
|
68 | 68 | f = ip_dir + r'\Manual in HTML.lnk' |
|
69 | 69 | mkshortcut(t,'IPython Manual - HTML-Format',f) |
|
70 | 70 |
General Comments 0
You need to be logged in to leave comments.
Login now