~ipython-dev/ipython/0.10.1

« back to all changes in this revision

Viewing changes to win32_manual_post_install.py

  • Committer: Fernando Perez
  • Date: 2008-08-29 00:01:17 UTC
  • mfrom: (1102.1.25 trunk-dev)
  • Revision ID: fernando.perez@berkeley.edu-20080829000117-35s1tw38ygs2ucec
More updates for release of 0.9.rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    # File and directory names
73
73
    ip_dir = program_files_dir + r'\IPython'
74
74
    ip_prog_dir = programs_dir + r'\IPython'
75
 
    doc_dir = ip_dir+r'\doc'
 
75
    doc_dir = ip_dir+r'\docs'
76
76
    ip_filename = ip_dir+r'\IPython_shell.py'
77
77
    pycon_icon = doc_dir+r'\pycon.ico'
78
78
 
83
83
    shutil.copy(sys.prefix+r'\Scripts\ipython',ip_filename)
84
84
    if os.path.isdir(doc_dir):
85
85
        shutil.rmtree(doc_dir)
86
 
    shutil.copytree('doc',doc_dir)
 
86
    shutil.copytree('docs',doc_dir)
87
87
 
88
88
    # make shortcuts for IPython, html and pdf docs.
89
89
    print 'Making entries for IPython in Start Menu...',
104
104
        os.mkdir(ip_prog_dir)
105
105
    os.chdir(ip_prog_dir)
106
106
 
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'
109
109
 
110
110
    make_shortcut('IPython.lnk',sys.executable, '"%s"' % ip_filename,
111
111
                  my_documents_dir,