diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-09 11:50:04 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-09 11:50:04 +0500 |
| commit | fef7206fbaa12bf6c7d6add5a0cb2b82b97ebb0a (patch) | |
| tree | 033ad4cf0861f5ab9f7e488a505852de3d0b9aac /project/toolset.py | |
| parent | move Pylint settings to pyproject.toml (diff) | |
| download | cmake-common-fef7206fbaa12bf6c7d6add5a0cb2b82b97ebb0a.tar.gz cmake-common-fef7206fbaa12bf6c7d6add5a0cb2b82b97ebb0a.zip | |
minor imports refactoring
Diffstat (limited to 'project/toolset.py')
| -rw-r--r-- | project/toolset.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/project/toolset.py b/project/toolset.py index 1e9e2d9..8b6ea07 100644 --- a/project/toolset.py +++ b/project/toolset.py @@ -33,7 +33,7 @@ import shutil import project.mingw from project.os import on_windows from project.platform import Platform -from project.utils import full_exe_name, temp_file +from project import utils class MSVCVersion(Enum): @@ -397,7 +397,7 @@ class BoostCustom(Toolset): version = BoostCustom.COMPILER_VERSION self.version = version path = path or "" - path = path and full_exe_name(path) + path = path and utils.full_exe_name(path) self.path = path build_options = build_options or [] self.build_options = build_options @@ -412,7 +412,7 @@ class BoostCustom(Toolset): @contextmanager def _b2_write_config(self): - config_file = temp_file(prefix="user_config_", suffix=".jam") + config_file = utils.temp_file(prefix="user_config_", suffix=".jam") with config_file as config_path: config = self.b2_format_config() logging.info("Using user config:\n%s", config) |
