Skip to content

Commit

Permalink
Prefer relative imports for better portability.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 1, 2024
1 parent f3b2254 commit 4e6d97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/spawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _inject_macos_ver(env: Mapping[str:str] | None) -> Mapping[str:str] | None:
if platform.system() != 'Darwin':
return env

from distutils.util import MACOSX_VERSION_VAR, get_macosx_target_ver
from .util import MACOSX_VERSION_VAR, get_macosx_target_ver

target_ver = get_macosx_target_ver()
update = {MACOSX_VERSION_VAR: target_ver} if target_ver else {}
Expand Down

0 comments on commit 4e6d97d

Please sign in to comment.