diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-06-09 23:10:04 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-10 01:44:43 +0000 |
commit | 1b1c66d7bcb6e5676f36ac3f7c052c175949d663 (patch) | |
tree | 788e4c813911c745c42a95333d99c297f47c2436 | |
parent | be7d8b2d2f8b460133b06c918b94f6c2e2cf19e5 (diff) | |
download | meson-1b1c66d7bcb6e5676f36ac3f7c052c175949d663.zip meson-1b1c66d7bcb6e5676f36ac3f7c052c175949d663.tar.gz meson-1b1c66d7bcb6e5676f36ac3f7c052c175949d663.tar.bz2 |
meson.py: sys.path requires str, not pathlib.Path
-rwxr-xr-x | meson.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ from pathlib import Path # we always import the correct mesonbuild modules even if PYTHONPATH is mangled meson_exe = Path(sys.argv[0]).resolve() if (meson_exe.parent / 'mesonbuild').is_dir(): - sys.path.insert(0, meson_exe.parent) + sys.path.insert(0, str(meson_exe.parent)) from mesonbuild import mesonmain |