Skip to content
Snippets Groups Projects

'info/LICENSE' not in info/files

Merged Tiago de Freitas Pereira requested to merge conda-build-hack into master
Files
2
+ 7
0
@@ -437,6 +437,13 @@ if __name__ == "__main__":
logger.warn('See https://gitlab.idiap.ch/bob/bob.devtools/merge_requests/112')
os.unlink('.gitignore')
#### END OF HACK
#### HACK that avoids this issue: https://github.com/conda/conda-build/issues/3767
if os.path.exists('LICENSE') and os.path.exists('conda'):
logger.warn('Creating symlink in `./conda` to avoid issue with conda build (https://github.com/conda/conda-build/issues/3767)')
pwd = os.path.abspath(os.curdir)
os.symlink(f"{pwd}/LICENSE", f"{pwd}/conda/LICENSE")
#### END OF HACK
condarc = os.path.join(args.conda_root, "condarc")
Loading