aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-03-08 19:17:08 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-03-08 19:22:02 -0500
commit487eef29076670385928ee10bc7f462ffa890af6 (patch)
tree0d5e98e32d5504676c1e5e3d39a47a6d3d110467
parent96405c3923934cfa2a7e864c4098ac75576dc379 (diff)
downloadmeson-487eef29076670385928ee10bc7f462ffa890af6.zip
meson-487eef29076670385928ee10bc7f462ffa890af6.tar.gz
meson-487eef29076670385928ee10bc7f462ffa890af6.tar.bz2
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.
-rw-r--r--mesonbuild/environment.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index fe3eeb3..5bc28ba 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