Skip to content

Commit 0a54624

Browse files
committed
Add install_dependency("ipython-pre")
1 parent b6f27e1 commit 0a54624

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/convenience.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,12 @@ function conda_installation(package)
111111
end
112112

113113
function pip_installation(package)
114-
if package in (conda_packages..., "ipython-dev", "julia")
114+
if package in (conda_packages..., "ipython-dev", "ipython-pre", "julia")
115115
args = package
116116
if package == "ipython-dev"
117117
args = `--upgrade "git+git://github.com/ipython/ipython#egg=ipython"`
118+
elseif package == "ipython-pre"
119+
args = `--upgrade --pre ipython`
118120
end
119121
command = `$(PyCall.pyprogramname) -m pip install $args`
120122
message = """

src/replhelper/convenience.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def wrapped(*args, **kwargs):
9191
what would happen to your Python environment by doing so, executing
9292
the following command in Julia may help:
9393
94+
IPython.install_dependency("ipython-pre") # or
9495
IPython.install_dependency("ipython-dev")
9596
9697
It prints the installation command to be executed and prompts your

0 commit comments

Comments
 (0)