Skip to content

Commit

Permalink
ENH: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Feb 4, 2023
1 parent 272e970 commit b570f3c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,27 +877,6 @@ def _install_plan(self) -> Dict[str, Dict[str, Dict[str, str]]]:

return install_plan

@property
def _copy_files(self) -> Dict[str, str]:
"""Files that Meson will copy on install and the target location."""
copy_files = {}
for origin, destination in self._info('intro-installed').items():
destination_path = pathlib.Path(destination).absolute()
copy_files[origin] = os.fspath(
self._install_dir / destination_path.relative_to(destination_path.anchor)
)
return copy_files

@property
def _lib_paths(self) -> Set[str]:
copy_files = self._copy_files
return {
os.path.dirname(copy_files[file])
for files in self._install_plan.values()
for file, details in files.items()
if details['destination'].startswith('{libdir_')
}

@property
def _meson_name(self) -> str:
"""Name in meson.build."""
Expand Down

0 comments on commit b570f3c

Please sign in to comment.