More tweaks
This commit is contained in:
@@ -152,14 +152,14 @@ def build(options: BuildOptions) -> None:
|
|||||||
docker.copy_into(constraints_file, container_constraints_file)
|
docker.copy_into(constraints_file, container_constraints_file)
|
||||||
dependency_constraint_flags = ['-c', container_constraints_file]
|
dependency_constraint_flags = ['-c', container_constraints_file]
|
||||||
|
|
||||||
|
log.step('Setting up build environment...')
|
||||||
|
|
||||||
env = docker.get_environment()
|
env = docker.get_environment()
|
||||||
|
|
||||||
# put this config's python top of the list
|
# put this config's python top of the list
|
||||||
python_bin = config.path / 'bin'
|
python_bin = config.path / 'bin'
|
||||||
env['PATH'] = f'{python_bin}:{env["PATH"]}'
|
env['PATH'] = f'{python_bin}:{env["PATH"]}'
|
||||||
|
|
||||||
log.step('Setting up build environment...')
|
|
||||||
|
|
||||||
env = options.environment.as_dictionary(env, executor=docker.environment_executor)
|
env = options.environment.as_dictionary(env, executor=docker.environment_executor)
|
||||||
|
|
||||||
# check config python and pip are still on PATH
|
# check config python and pip are still on PATH
|
||||||
|
|||||||
@@ -52,9 +52,10 @@ class Logger:
|
|||||||
|
|
||||||
def build_start(self, identifier: str):
|
def build_start(self, identifier: str):
|
||||||
c = self.colors
|
c = self.colors
|
||||||
|
description = build_description_from_identifier(identifier)
|
||||||
print()
|
print()
|
||||||
print(f'{c.bold}Building {build_description_from_identifier(identifier)} wheel{c.end}')
|
print(f'{c.bold}{c.blue}Building {identifier} wheel{c.end}')
|
||||||
print(f'Identifier: {c.bg_grey}{identifier}{c.end}')
|
print(f'{description}')
|
||||||
print()
|
print()
|
||||||
|
|
||||||
self.build_start_time = time.time()
|
self.build_start_time = time.time()
|
||||||
@@ -66,7 +67,6 @@ class Logger:
|
|||||||
|
|
||||||
print()
|
print()
|
||||||
print('---')
|
print('---')
|
||||||
print()
|
|
||||||
self.build_start_time = None
|
self.build_start_time = None
|
||||||
|
|
||||||
def step(self, step_description: str):
|
def step(self, step_description: str):
|
||||||
|
|||||||
Reference in New Issue
Block a user