bpo-36441: Fixes creating a venv when debug binaries are installed. (#12566)

This commit is contained in:
Steve Dower 2019-03-27 08:14:53 -07:00 committed by GitHub
parent f4333d0479
commit 4a9a505d6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 0 deletions

View file

@ -195,6 +195,9 @@ class EnvBuilder:
src = os.path.join(os.path.dirname(src), basename + ext)
else:
src = srcfn
if not os.path.exists(src):
logger.warning('Unable to copy %r', src)
return
shutil.copyfile(src, dst)