From 487eef29076670385928ee10bc7f462ffa890af6 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 8 Mar 2021 19:17:08 -0500 Subject: [PATCH] remove unused environment function The script dir is never really used since meson --internal handles this. The last remaining use of the raw script dir got removed in commit 522392e7553823e6b3ac38cadc4fbee72eae9540. --- mesonbuild/environment.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index fe3eeb367..5bc28ba57 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -888,10 +888,6 @@ class Environment: def dump_coredata(self) -> str: return coredata.save(self.coredata, self.get_build_dir()) - def get_script_dir(self) -> str: - import mesonbuild.scripts - return os.path.dirname(mesonbuild.scripts.__file__) - def get_log_dir(self) -> str: return self.log_dir