Blame rosdep-0.10.14-pythonpip.patch
|
|
5532251 |
--- ../rosdep-0.10.14.orig/src/rosdep2/platforms/pip.py 2013-02-20 11:04:36.000000000 +1100
|
|
|
5532251 |
+++ src/rosdep2/platforms/pip.py 2013-03-16 13:32:51.651890938 +1100
|
|
|
5532251 |
@@ -44,7 +44,7 @@
|
|
|
5532251 |
|
|
|
5532251 |
def is_pip_installed():
|
|
|
5532251 |
try:
|
|
|
5532251 |
- subprocess.Popen(['pip'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
|
|
|
5532251 |
+ subprocess.Popen(['python-pip'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
|
|
|
5532251 |
return True
|
|
|
5532251 |
except OSError:
|
|
|
5532251 |
return False
|
|
|
5532251 |
@@ -57,7 +57,7 @@
|
|
|
5532251 |
"""
|
|
|
5532251 |
if exec_fn is None:
|
|
|
5532251 |
exec_fn = read_stdout
|
|
|
5532251 |
- pkg_list = exec_fn(['pip', 'freeze']).split('\n')
|
|
|
5532251 |
+ pkg_list = exec_fn(['python-pip', 'freeze']).split('\n')
|
|
|
5532251 |
|
|
|
5532251 |
ret_list = []
|
|
|
5532251 |
for pkg in pkg_list:
|
|
|
5532251 |
@@ -81,5 +81,5 @@
|
|
|
5532251 |
if not packages:
|
|
|
5532251 |
return []
|
|
|
5532251 |
else:
|
|
|
5532251 |
- return [['sudo', 'pip', 'install', '-U', p] for p in packages]
|
|
|
5532251 |
+ return [['sudo', 'python-pip', 'install', '-U', p] for p in packages]
|
|
|
5532251 |
|
|
|
5532251 |
|