Skip to content
Snippets Groups Projects
Commit 102f2ab4 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Thomas Kluyver
Browse files

Record devpi index URL in requirements.txt files for reproducibility

parent 1a29ed75
No related branches found
No related tags found
1 merge request!696Install internal dependencies from Gitlab package index
......@@ -715,6 +715,8 @@ def run(argv=None):
# Record installed Python packages for reproducing the environment
if not args['skip_env_freeze']:
with (cal_work_dir / 'requirements.txt').open('wb') as f:
print('--index-url https://devpi.exfldadev01.desy.de/euxfel/internal',
file=f, flush=True)
check_call([python_exe, '-m', 'pip', 'freeze'], stdout=f)
folder = get_par_attr(parms, 'in_folder', 'value', '')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment