Fix issue with symlinks during recursive copy during install

This commit is contained in:
Sunil Mohan Adapa 2014-10-12 19:04:52 +05:30
parent 731c2535b7
commit d704b3961e

View File

@ -61,7 +61,7 @@ class CustomInstallData(install_data):
for target, source in DIRECTORIES_TO_COPY:
if not os.path.exists(target):
log.info("recursive copy '%s' to '%s'", source, target)
shutil.copytree(source, target)
shutil.copytree(source, target, symlinks=True)
find_packages = setuptools.PEP420PackageFinder.find