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 |
@@ -64,7 +64,7 b' def install():' | |||||
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\i |
|
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