Skip to content

Commit 0ea833a

Browse files
author
stonebig
committed
optional R console and Julia console
1 parent 879320e commit 0ea833a

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

make.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def _create_launchers(self):
573573
ipython_exe,
574574
args=' qtconsole --matplotlib=inline',
575575
workdir=r'${WINPYDIR}\..\notebooks')
576-
self.create_launcher('IPython Notebook.exe', 'ipython.ico',
576+
self.create_launcher('IPython Notebook.exe', 'jupyter.ico',
577577
command='${WINPYDIR}\Scripts\%s' %
578578
ipython_exe,
579579
args=' notebook --matplotlib=inline',
@@ -588,6 +588,26 @@ def _create_launchers(self):
588588
self.create_launcher('WinMergeU.exe', 'winmerge.ico',
589589
command=r'${WINPYDIR}\..'+self.WINMERGE_PATH,
590590
workdir=r'${WINPYDIR}')
591+
592+
# R console launchers
593+
r_exe = self.R_PATH + r"\i386\R.exe"
594+
if osp.isfile(self.winpydir + r_exe):
595+
self.create_launcher('R Console32.exe', 'r.ico',
596+
command='${WINPYDIR}\..' + r_exe,
597+
workdir=r'${WINPYDIR}\..\notebooks')
598+
r_exe = self.R_PATH + r"\x64\R.exe"
599+
if osp.isfile(self.winpydir + r_exe):
600+
self.create_launcher('R Console64.exe', 'r.ico',
601+
command='${WINPYDIR}\..' + r_exe,
602+
workdir=r'${WINPYDIR}\..\notebooks')
603+
604+
# Julia console launcher
605+
julia_exe = self.JULIA_PATH + r"\julia.exe"
606+
if osp.isfile(self.winpydir + julia_exe):
607+
self.create_launcher('Julia Console.exe', 'julia.ico',
608+
command='${WINPYDIR}\..'+ julia_exe,
609+
workdir=r'${WINPYDIR}\..\notebooks')
610+
591611
self._print_done()
592612

593613
def _create_batch_scripts(self):
@@ -1157,3 +1177,5 @@ def make_all(build_number, release_level, pyver,
11571177
# verbose=False, archis=(64, ), flavor='FlavorRfull')
11581178
#make_all(5, '', pyver='3.4', rootdir=r'D:\Winpython',
11591179
# verbose=False, archis=(32, ), flavor='FlavorJulia')
1180+
#make_all(5, '', pyver='3.4', rootdir=r'D:\Winpython',
1181+
# verbose=False, archis=(64, ), flavor='FlavorJulia')

winpython/data/packages.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ description=Connect colorbrewer2.org color maps to Python and matplotlib
1919
[certifi]
2020
description=Python package for providing Mozilla's CA Bundle.
2121

22+
[cffi]
23+
description=Foreign Function Interface for Python calling C code.
24+
2225
[configparser]
2326
description=This library brings the updated configparser from Python 3.5 to Python 2.6-3.5.
2427

@@ -66,6 +69,9 @@ description=Module for creating form dialogs/widgets to edit various type of par
6669
url=http://formlayout.googlecode.com
6770
category=gui
6871
72+
[funcsigs]
73+
description=Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+
74+
6975
[guidata]
7076
description=Automatically generated graphical user interfaces for easy data set edition and display
7177
url=http://packages.python.org/guidata
@@ -259,6 +265,9 @@ description=Python bindings for the cairo library
259265
[pycosat]
260266
description=bindings to picosat (a SAT solver)
261267

268+
[pycparser]
269+
description=C parser in Python
270+
262271
[pyeda]
263272
description=PyEDA is a Python library for electronic design automation.
264273

0 commit comments

Comments
 (0)