python-setup: Fix path for tests

This commit is contained in:
Rasmus Wriedt Larsen 2022-12-12 18:00:32 +01:00
parent 259993b92a
commit 932b6a98b8
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ def get_details(path_to_python_exe: str) -> Tuple[str, str]:
import_path = subprocess.check_output(
[
path_to_python_exe,
os.path.join(os.path.dirname(__file__), "find_site_packages.py")
os.path.join(os.path.dirname(__file__), "..", "find_site_packages.py")
],
stdin=subprocess.DEVNULL,
)