Skip to content

Commit 09e0030

Browse files
committed
Pass --upgrade when installing ipython-dev
1 parent bdc2dc4 commit 09e0030

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/convenience.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,11 @@ end
112112

113113
function pip_installation(package)
114114
if package in (conda_packages..., "ipython-dev", "julia")
115+
args = package
115116
if package == "ipython-dev"
116-
package = "git+git://github.com/ipython/ipython#egg=ipython"
117+
args = `--upgrade "git+git://github.com/ipython/ipython#egg=ipython"`
117118
end
118-
command = `$(PyCall.pyprogramname) -m pip install $package`
119+
command = `$(PyCall.pyprogramname) -m pip install $args`
119120
message = """
120121
Installing $package for $(PyCall.pyprogramname)
121122
Execute?:

0 commit comments

Comments
 (0)