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/boost/directory.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/boost/directory.py')
| -rw-r--r-- | project/boost/directory.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py index 1cb3a77..cc3d129 100644 --- a/project/boost/directory.py +++ b/project/boost/directory.py @@ -8,7 +8,7 @@ import os.path from project.os import on_windows from project.toolset import Toolset -from project.utils import cd, run +from project import utils class BoostDir: @@ -18,7 +18,7 @@ class BoostDir: self.path = path def _go(self): - return cd(self.path) + return utils.cd(self.path) def build(self, params): with self._go(): @@ -33,11 +33,13 @@ class BoostDir: def bootstrap(self, params): with self._go(): - run([self._bootstrap_path()] + self._bootstrap_args(params.toolset_version)) + utils.run( + [self._bootstrap_path()] + self._bootstrap_args(params.toolset_version) + ) def _b2(self, params): for b2_params in params.enum_b2_args(): - run([self._b2_path()] + b2_params) + utils.run([self._b2_path()] + b2_params) @staticmethod def _bootstrap_path(): |
