Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1cf00a

Browse files
committed
More updates for release of 0.9.rc1.
- Fix links for pyreadline. - Fix setup.py to include new -wx script. - Add pylab profile to win32 native installer. - Fix manual win32 post install script (though this script may not work, and I'm considering removing it...)
1 parent 991ffc8 commit f1cf00a

5 files changed

Lines changed: 13 additions & 7 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ global-exclude *.pyc
3030
global-exclude .dircopy.log
3131
global-exclude .svn
3232
global-exclude .bzr
33+
global-exclude .hgignore

scripts/ipython-wx

100644100755
File mode changed.

scripts/ipython_win_post_install.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def install():
3838
import readline
3939
except ImportError:
4040
print ('To take full advantage of IPython, you need readline from:\n'
41-
'http://sourceforge.net/projects/uncpythontools')
41+
'https://launchpad.net/pyreadline')
4242

4343
ipybase = '"' + prefix + r'\scripts\ipython"'
4444
# Create IPython entry ...
@@ -53,11 +53,15 @@ def install():
5353

5454
f = ip_dir + r'\pysh.lnk'
5555
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)
5761

5862
f = ip_dir + r'\scipy.lnk'
5963
a = ipybase+' -pylab -p scipy'
60-
mkshortcut(python,'IPython scipy profile',f,a)
64+
mkshortcut(python,'IPython (scipy profile)',f,a)
6165

6266
# Create documentation shortcuts ...
6367
t = prefix + r'\share\doc\ipython\manual\ipython.pdf'

setupbase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def find_scripts():
224224
'IPython/kernel/scripts/ipcluster',
225225
'scripts/ipython',
226226
'scripts/ipythonx',
227+
'scripts/ipython-wx',
227228
'scripts/pycolor',
228229
'scripts/irunner',
229230
'scripts/iptest',

win32_manual_post_install.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def run(wait=0):
7272
# File and directory names
7373
ip_dir = program_files_dir + r'\IPython'
7474
ip_prog_dir = programs_dir + r'\IPython'
75-
doc_dir = ip_dir+r'\doc'
75+
doc_dir = ip_dir+r'\docs'
7676
ip_filename = ip_dir+r'\IPython_shell.py'
7777
pycon_icon = doc_dir+r'\pycon.ico'
7878

@@ -83,7 +83,7 @@ def run(wait=0):
8383
shutil.copy(sys.prefix+r'\Scripts\ipython',ip_filename)
8484
if os.path.isdir(doc_dir):
8585
shutil.rmtree(doc_dir)
86-
shutil.copytree('doc',doc_dir)
86+
shutil.copytree('docs',doc_dir)
8787

8888
# make shortcuts for IPython, html and pdf docs.
8989
print 'Making entries for IPython in Start Menu...',
@@ -104,8 +104,8 @@ def run(wait=0):
104104
os.mkdir(ip_prog_dir)
105105
os.chdir(ip_prog_dir)
106106

107-
man_pdf = doc_dir + r'\manual\ipython.pdf'
108-
man_htm = doc_dir + r'\manual\ipython.html'
107+
man_pdf = doc_dir + r'\dist\ipython.pdf'
108+
man_htm = doc_dir + r'\dist\index.html'
109109

110110
make_shortcut('IPython.lnk',sys.executable, '"%s"' % ip_filename,
111111
my_documents_dir,

0 commit comments

Comments
 (0)