From 7f45b178c978e7c9fa7f427baecdb46dce46271d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 11 Oct 2025 20:49:52 +0200 Subject: [PATCH] Adjust imports --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d5985fc92..c9639a07c 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,8 @@ import re import ast import os import sys -from pathlib import Path +import pathlib + # Add repo root to path so we can import scripts. Prior to PEP517 support this # was the default behavior for setuptools. # https://github.com/pypa/setuptools/issues/3939#issuecomment-1573619382 @@ -24,7 +25,7 @@ import setuptools try: - BASEDIR = Path(__file__).resolve().parent + BASEDIR = pathlib.Path(__file__).resolve().parent except NameError: BASEDIR = None