More tweaks

This commit is contained in:
Joe Rickerby
2020-11-01 12:33:14 +00:00
parent 45c723cdea
commit f51c8dc1e3
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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
+3 -3
View File
@@ -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):