-env = environment()
-env.set('TINC_PATH', exe_tinc.full_path())
-env.set('TINCD_PATH', exe_tincd.full_path())
-env.set('SPTPS_TEST_PATH', exe_sptps_test.full_path())
-env.set('SPTPS_KEYPAIR_PATH', exe_sptps_keypair.full_path())
-env.set('SPLICE_PATH', exe_splice.full_path())
-env.set('TESTLIB_PATH', meson.current_source_dir() / 'testlib.sh')
+env_vars = {
+ 'TINC_PATH': exe_tinc.full_path(),
+ 'TINCD_PATH': exe_tincd.full_path(),
+ 'PYTHON_PATH': python_path,
+ 'SPLICE_PATH': exe_splice.full_path(),
+ 'SPTPS_TEST_PATH': exe_sptps_test.full_path(),
+ 'SPTPS_KEYPAIR_PATH': exe_sptps_keypair.full_path(),
+}