Show More
@@ -30,3 +30,4 b' global-exclude *.pyc' | |||||
30 | global-exclude .dircopy.log |
|
30 | global-exclude .dircopy.log | |
31 | global-exclude .svn |
|
31 | global-exclude .svn | |
32 | global-exclude .bzr |
|
32 | global-exclude .bzr | |
|
33 | global-exclude .hgignore |
1 | NO CONTENT: modified file chmod 100644 => 100755 |
|
NO CONTENT: modified file chmod 100644 => 100755 |
@@ -38,7 +38,7 b' def install():' | |||||
38 | import readline |
|
38 | import readline | |
39 | except ImportError: |
|
39 | except ImportError: | |
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 |
|
41 | 'https://launchpad.net/pyreadline') | |
42 |
|
42 | |||
43 | ipybase = '"' + prefix + r'\scripts\ipython"' |
|
43 | ipybase = '"' + prefix + r'\scripts\ipython"' | |
44 | # Create IPython entry ... |
|
44 | # Create IPython entry ... | |
@@ -53,11 +53,15 b' def install():' | |||||
53 |
|
53 | |||
54 | f = ip_dir + r'\pysh.lnk' |
|
54 | f = ip_dir + r'\pysh.lnk' | |
55 | a = ipybase+' -p sh' |
|
55 | a = ipybase+' -p sh' | |
56 | mkshortcut(python,'IPython command prompt mode',f,a) |
|
56 | mkshortcut(python,'IPython (command prompt mode)',f,a) | |
|
57 | ||||
|
58 | f = ip_dir + r'\pylab.lnk' | |||
|
59 | a = ipybase+' -pylab' | |||
|
60 | mkshortcut(python,'IPython (PyLab mode)',f,a) | |||
57 |
|
61 | |||
58 | f = ip_dir + r'\scipy.lnk' |
|
62 | f = ip_dir + r'\scipy.lnk' | |
59 | a = ipybase+' -pylab -p scipy' |
|
63 | a = ipybase+' -pylab -p scipy' | |
60 | mkshortcut(python,'IPython scipy profile',f,a) |
|
64 | mkshortcut(python,'IPython (scipy profile)',f,a) | |
61 |
|
65 | |||
62 | # Create documentation shortcuts ... |
|
66 | # Create documentation shortcuts ... | |
63 | t = prefix + r'\share\doc\ipython\manual\ipython.pdf' |
|
67 | t = prefix + r'\share\doc\ipython\manual\ipython.pdf' |
@@ -224,6 +224,7 b' def find_scripts():' | |||||
224 | 'IPython/kernel/scripts/ipcluster', |
|
224 | 'IPython/kernel/scripts/ipcluster', | |
225 | 'scripts/ipython', |
|
225 | 'scripts/ipython', | |
226 | 'scripts/ipythonx', |
|
226 | 'scripts/ipythonx', | |
|
227 | 'scripts/ipython-wx', | |||
227 | 'scripts/pycolor', |
|
228 | 'scripts/pycolor', | |
228 | 'scripts/irunner', |
|
229 | 'scripts/irunner', | |
229 | 'scripts/iptest', |
|
230 | 'scripts/iptest', |
@@ -72,7 +72,7 b' def run(wait=0):' | |||||
72 | # File and directory names |
|
72 | # File and directory names | |
73 | ip_dir = program_files_dir + r'\IPython' |
|
73 | ip_dir = program_files_dir + r'\IPython' | |
74 | ip_prog_dir = programs_dir + r'\IPython' |
|
74 | ip_prog_dir = programs_dir + r'\IPython' | |
75 | doc_dir = ip_dir+r'\doc' |
|
75 | doc_dir = ip_dir+r'\docs' | |
76 | ip_filename = ip_dir+r'\IPython_shell.py' |
|
76 | ip_filename = ip_dir+r'\IPython_shell.py' | |
77 | pycon_icon = doc_dir+r'\pycon.ico' |
|
77 | pycon_icon = doc_dir+r'\pycon.ico' | |
78 |
|
78 | |||
@@ -83,7 +83,7 b' def run(wait=0):' | |||||
83 | shutil.copy(sys.prefix+r'\Scripts\ipython',ip_filename) |
|
83 | shutil.copy(sys.prefix+r'\Scripts\ipython',ip_filename) | |
84 | if os.path.isdir(doc_dir): |
|
84 | if os.path.isdir(doc_dir): | |
85 | shutil.rmtree(doc_dir) |
|
85 | shutil.rmtree(doc_dir) | |
86 | shutil.copytree('doc',doc_dir) |
|
86 | shutil.copytree('docs',doc_dir) | |
87 |
|
87 | |||
88 | # make shortcuts for IPython, html and pdf docs. |
|
88 | # make shortcuts for IPython, html and pdf docs. | |
89 | print 'Making entries for IPython in Start Menu...', |
|
89 | print 'Making entries for IPython in Start Menu...', | |
@@ -104,8 +104,8 b' def run(wait=0):' | |||||
104 | os.mkdir(ip_prog_dir) |
|
104 | os.mkdir(ip_prog_dir) | |
105 | os.chdir(ip_prog_dir) |
|
105 | os.chdir(ip_prog_dir) | |
106 |
|
106 | |||
107 |
man_pdf = doc_dir + r'\ |
|
107 | man_pdf = doc_dir + r'\dist\ipython.pdf' | |
108 |
man_htm = doc_dir + r'\ |
|
108 | man_htm = doc_dir + r'\dist\index.html' | |
109 |
|
109 | |||
110 | make_shortcut('IPython.lnk',sys.executable, '"%s"' % ip_filename, |
|
110 | make_shortcut('IPython.lnk',sys.executable, '"%s"' % ip_filename, | |
111 | my_documents_dir, |
|
111 | my_documents_dir, |
General Comments 0
You need to be logged in to leave comments.
Login now