Skip to content

Commit

Permalink
Merge pull request #937 from rodcloutier/Fix_tcl_install_failing_on_w…
Browse files Browse the repository at this point in the history
…indows

Only copy tcltk related files if exists and not present.
  • Loading branch information
Ivoz authored Aug 1, 2016
2 parents 4b707b8 + ff95518 commit 6431406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,8 @@ def copy_tcltk(src, dest, symlink):
for name in ['tcl', 'tk']:
srcdir = src + '/tcl/' + name + libver
dstdir = dest + '/tcl/' + name + libver
copyfileordir(srcdir, dstdir, symlink)
if os.path.exists(srcdir) and not os.path.exists(dstdir):
copyfileordir(srcdir, dstdir, symlink)

def subst_path(prefix_path, prefix, home_dir):
prefix_path = os.path.normpath(prefix_path)
Expand Down

0 comments on commit 6431406

Please sign in to comment.