def _pip(self): if not self.__pip: self.__pip = _python.Pip( python_major_version=self._python_major_version, part_dir=self.partdir, install_dir=self.installdir, stage_dir=self.project.stage_dir, ) return self.__pip
def _pip(self): if not self.__pip: self.__pip = _python.Pip( python_major_version="2", # ROS1 only supports python2 part_dir=self.partdir, install_dir=self.installdir, stage_dir=self.project.stage_dir, ) return self.__pip