[py-pip] fix setup_dependent_package in py-pip (#32632)
This commit is contained in:
		| @@ -94,7 +94,7 @@ def install(self, spec, prefix): | |||||||
|         python(*args) |         python(*args) | ||||||
| 
 | 
 | ||||||
|     def setup_dependent_package(self, module, dependent_spec): |     def setup_dependent_package(self, module, dependent_spec): | ||||||
|         pip = self.spec["python"].command |         pip = dependent_spec["python"].command | ||||||
|         pip.add_default_arg("-m") |         pip.add_default_arg("-m") | ||||||
|         pip.add_default_arg("pip") |         pip.add_default_arg("pip") | ||||||
|         setattr(module, "pip", pip) |         setattr(module, "pip", pip) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Matthieu Dorier
					Matthieu Dorier