venv: Fix output when copying files.
This commit is contained in:
parent
be568e1681
commit
feb964cff9
@ -159,14 +159,15 @@ def link_pyqt():
|
|||||||
raise FileNotFoundError(source)
|
raise FileNotFoundError(source)
|
||||||
if os.path.exists(dest):
|
if os.path.exists(dest):
|
||||||
os.unlink(dest)
|
os.unlink(dest)
|
||||||
print('{} -> {}'.format(source, dest))
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
if os.path.isdir(source):
|
if os.path.isdir(source):
|
||||||
shutil.copytree(source, dest, ignore=get_ignored_files,
|
shutil.copytree(source, dest, ignore=get_ignored_files,
|
||||||
copy_function=verbose_copy)
|
copy_function=verbose_copy)
|
||||||
else:
|
else:
|
||||||
|
print('{} -> {}'.format(source, dest))
|
||||||
shutil.copy(source, dest)
|
shutil.copy(source, dest)
|
||||||
else:
|
else:
|
||||||
|
print('{} -> {}'.format(source, dest))
|
||||||
os.symlink(source, dest)
|
os.symlink(source, dest)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user