def _relocate_binaries(self): prefix = self.config.prefix if prefix[-1] == '/': prefix = prefix[:-1] for path in ['bin', 'lib', 'libexec']: relocator = OSXRelocator( os.path.join(self.appdir, 'Contents', 'Home', path), self.config.prefix, '@executable_path/../', True) relocator.relocate()
def _relocate_binaries(self): prefix = self.config.prefix if prefix[-1] == '/': prefix = prefix[:-1] for path in ['bin', 'lib', 'libexec']: relocator = OSXRelocator( os.path.join(self.appdir, 'Contents', 'Home', path), self.config.prefix, '@executable_path/../', True) relocator.relocate()
def _relocate_binaries(self, tmp_dir): if not self.package.relocate_osx_binaries: return prefix = self.config.prefix if prefix[-1] == '/': prefix = prefix[:-1] for path in ['bin', 'lib', 'libexec']: relocator = OSXRelocator(os.path.join(tmp_dir, path), self.config.prefix, '@executable_path/../', True) relocator.relocate()
def _relocate_binaries(self): if not self.package.relocate_osx_binaries: return prefix = self.config.prefix if prefix[-1] == "/": prefix = prefix[:-1] for path in ["bin", "lib", "libexec"]: relocator = OSXRelocator( os.path.join(self.appdir, "Contents", "Home", path), self.config.prefix, "@executable_path/../", True ) relocator.relocate()
def _relocate_binaries(self, tmp_dir): if not self.package.relocate_osx_binaries: return prefix = self.config.prefix if prefix[-1] == '/': prefix = prefix[:-1] for path in ['bin', 'lib', 'libexec']: relocator = OSXRelocator(os.path.join(tmp_dir, path), self.config.prefix, '@executable_path/../', True) relocator.relocate()