def test_local_elf_interp_install(self):

        # This is a slight hack, but lets pre-create seed the environment with
        # our symlink ld.so so that it is the link target
        interp_path = linux.readelf_interp(sys.executable)
        lib_dir = os.path.join(self.env_dir, 'lib')
        target_path = os.path.join(lib_dir, 'ld-2.99.so')

        util.ensure_dir(lib_dir)
        os.symlink(interp_path, target_path)

        # Create out environment
        self._make_empty_env()

        # Run the install
        self._xpkg_cmd(['install', 'basic', '--tree', self.tree_dir])

        # Make sure it has the proper elf interp
        basic_bin = os.path.join(self.env_dir, 'bin', 'basic')
        interp_path = linux.readelf_interp(basic_bin)

        expected = os.path.join(self.env_dir, 'lib', 'ld-linux-xpkg.so')

        self.assertEquals(expected, interp_path)

        # Make sure it points to our special one
        linked_path = os.readlink(interp_path)
        self.assertEquals(target_path, linked_path)
Returns viridis color map
dataset/ETHPy150Open jlisee/xpkg/python/tests/fulltests.py/LinuxTests.test_local_elf_interp_install--crossover with--dataset/ETHPy150Open pydata/xarray/xarray/plot/utils.py/_load_default_cmap