Skip to content

Commit

Permalink
Support reinstall option for pip
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed May 2, 2016
1 parent 2742d69 commit d0ae98f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rosdep2/platforms/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def get_install_command(self, resolved, interactive=True, reinstall=False, quiet
cmd = ['pip', 'install', '-U']
if quiet:
cmd.append('-q')
if reinstall:
cmd.append('-I')
cmd.append(pkg)
cmd = self.elevate_priv(cmd)
commands.append(cmd)
Expand Down

0 comments on commit d0ae98f

Please sign in to comment.