diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 500307b7..dba5c38d 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -152,14 +152,14 @@ def build(options: BuildOptions) -> None: docker.copy_into(constraints_file, container_constraints_file) dependency_constraint_flags = ['-c', container_constraints_file] + log.step('Setting up build environment...') + env = docker.get_environment() # put this config's python top of the list python_bin = config.path / 'bin' env['PATH'] = f'{python_bin}:{env["PATH"]}' - log.step('Setting up build environment...') - env = options.environment.as_dictionary(env, executor=docker.environment_executor) # check config python and pip are still on PATH diff --git a/cibuildwheel/logger.py b/cibuildwheel/logger.py index f188a71b..0ecfdf3c 100644 --- a/cibuildwheel/logger.py +++ b/cibuildwheel/logger.py @@ -52,9 +52,10 @@ class Logger: def build_start(self, identifier: str): c = self.colors + description = build_description_from_identifier(identifier) print() - print(f'{c.bold}Building {build_description_from_identifier(identifier)} wheel{c.end}') - print(f'Identifier: {c.bg_grey}{identifier}{c.end}') + print(f'{c.bold}{c.blue}Building {identifier} wheel{c.end}') + print(f'{description}') print() self.build_start_time = time.time() @@ -66,7 +67,6 @@ class Logger: print() print('---') - print() self.build_start_time = None def step(self, step_description: str):