Commit d8e3320d authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Implemented hack for the info/files issue. Patching the copying file too

parent e9ffa187
Pipeline #34222 passed with stage
in 4 minutes and 54 seconds
......@@ -444,9 +444,14 @@ if __name__ == "__main__":
logger.warn('Replacing ../LICENSE to LICENSE (')
pwd = os.path.abspath(os.curdir)
os.symlink(f"{pwd}/LICENSE", f"{pwd}/conda/LICENSE")
  • This requires at least Python 3.6.

    This will fail on stretch based machines when using the system provided Python as it is still version 3.5.

Please register or sign in to reply
os.symlink(f"{pwd}/COPYING", f"{pwd}/conda/COPYING")
recipe = open("./conda/meta.yaml").readlines()
recipe = [l.replace("../LICENSE","LICENSE") for l in recipe]
recipe = [l.replace("../COPYING","COPYING").replace("../LICENSE","LICENSE") for l in recipe]
open("./conda/meta.yaml", "wt").write(''.join(recipe))
condarc = os.path.join(args.conda_root, "condarc")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment