1diff --git a/meson.build b/meson.build
2index 239acf9..6a06c83 100644
3--- a/meson.build
4+++ b/meson.build
5@@ -8,7 +8,7 @@ pymod = import('python')
6 prefix = get_option('prefix')
7 pkgdatadir = join_paths(prefix, get_option('datadir'), meson.project_name())
8 py_installation = pymod.find_installation(get_option('python'))
9-py_path = py_installation.get_path('purelib')
10+py_path = py_installation.get_install_dir()
11
12 python3_required_modules = ['gi', 'pyudev', 'xdg', 'evdev', 'gettext', 'matplotlib', 'scipy', 'numpy']
13 foreach p : python3_required_modules