Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 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()
Exemplo n.º 4
0
 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()