Skip to content

Commit 5c58abb

Browse files
author
stonebig
committed
move docs to winpython\notebooks\docs
1 parent 22e1c9e commit 5c58abb

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

make.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,10 @@ def _copy_dev_tools(self):
498498

499499
def _copy_dev_docs(self):
500500
"""Copy dev docs"""
501-
self._print("Copying docs")
502-
docsdir = osp.join(self.winpydir, self.python_name, 'Scripts', 'docs')
501+
self._print("Copying Noteebook docs")
502+
docsdir = osp.join(self.winpydir, 'notebooks')
503+
os.mkdir(docsdir)
504+
docsdir = osp.join(self.winpydir, 'notebooks', 'docs')
503505
os.mkdir(docsdir)
504506
for dirname in self.docsdirs:
505507
for name in os.listdir(dirname):
@@ -562,15 +564,17 @@ def _create_launchers(self):
562564
ipython_scr = 'ipython-script.py'
563565
if osp.isfile(osp.join(self.python_dir, 'Scripts', ipython_exe)):
564566
self.create_launcher('IPython Qt Console.exe', 'ipython.ico',
565-
command='${WINPYDIR}\pythonw.exe',
566-
args='%s qtconsole --matplotlib=inline' %
567-
ipython_scr,
568-
workdir='${WINPYDIR}\Scripts')
567+
command='${WINPYDIR}\Scripts\%s' %
568+
ipython_exe,
569+
args=' qtconsole --matplotlib=inline',
570+
workdir=r'${WINPYDIR}\..\notebooks')
569571
self.create_launcher('IPython Notebook.exe', 'ipython.ico',
570572
command='${WINPYDIR}\Scripts\%s' %
571573
ipython_exe,
572574
args=' notebook --matplotlib=inline',
573-
workdir='${WINPYDIR}\Scripts')
575+
workdir=r'${WINPYDIR}\..\notebooks')
576+
# --notebook-dir=%~dp0
577+
# workdir='${WINPYDIR}\Scripts')
574578
if osp.isfile(self.winpydir + self.THG_PATH):
575579
self.create_launcher('TortoiseHg.exe', 'tortoisehg.ico',
576580
command=r'${WINPYDIR}\..'+self.THG_PATH,

0 commit comments

Comments
 (0)