File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 44
55from __future__ import annotations
66
7+ import collections
78import contextlib
89import itertools
910import os
1314from site import USER_BASE , USER_SITE
1415from typing import ClassVar
1516
16- import jaraco .collections
17-
1817from ..core import Command
1918from ..debug import DEBUG
2019from ..errors import DistutilsOptionError , DistutilsPlatformError
@@ -432,12 +431,12 @@ def finalize_options(self) -> None: # noqa: C901
432431 local_vars ['userbase' ] = self .install_userbase
433432 local_vars ['usersite' ] = self .install_usersite
434433
435- self .config_vars = jaraco .collections .DictStack ([
436- fw .vars (),
437- compat_vars ,
438- sysconfig .get_config_vars (),
434+ self .config_vars = collections .ChainMap (
439435 local_vars ,
440- ])
436+ sysconfig .get_config_vars (),
437+ compat_vars ,
438+ fw .vars (),
439+ )
441440
442441 self .expand_basedirs ()
443442
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ dependencies = [
2222 " packaging" ,
2323 " jaraco.functools >= 4" ,
2424 " more_itertools" ,
25- " jaraco.collections" ,
2625]
2726dynamic = [" version" ]
2827
You can’t perform that action at this time.
0 commit comments