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