Issue #18807: Merged fix from 3.4.

This commit is contained in:
Vinay Sajip 2014-05-28 08:08:32 +01:00
commit f9e77b311f
2 changed files with 8 additions and 1 deletions

View File

@ -212,7 +212,10 @@ class EnvBuilder:
for suffix in ('python', 'python3'): for suffix in ('python', 'python3'):
path = os.path.join(binpath, suffix) path = os.path.join(binpath, suffix)
if not os.path.exists(path): if not os.path.exists(path):
os.symlink(exename, path) # Issue 18807: make copies if
# symlinks are not wanted
copier(context.env_exe, path)
os.chmod(path, 0o755)
else: else:
subdir = 'DLLs' subdir = 'DLLs'
include = self.include_binary include = self.include_binary

View File

@ -91,6 +91,10 @@ Core and Builtins
Library Library
------- -------
- Issue #18807: If copying (no symlinks) specified for a venv, then the python
interpreter aliases (python, python3) are now created by copying rather than
symlinking.
- Issue #20197: Added support for the WebP image type in the imghdr module. - Issue #20197: Added support for the WebP image type in the imghdr module.
Patch by Fabrice Aneche and Claudiu Popa. Patch by Fabrice Aneche and Claudiu Popa.